You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2019/01/15 18:17:15 UTC
[tcl-rivet] 01/02: Useless typecast of size_t into int removed
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
commit 4f071db3cb6b775028f0d10e02c5dba8dd9215b5
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Tue Jan 15 10:50:30 2019 +0100
Useless typecast of size_t into int removed
---
src/mod_rivet_ng/TclWebapache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mod_rivet_ng/TclWebapache.c b/src/mod_rivet_ng/TclWebapache.c
index 12d2573..2446072 100644
--- a/src/mod_rivet_ng/TclWebapache.c
+++ b/src/mod_rivet_ng/TclWebapache.c
@@ -96,7 +96,7 @@ TclWeb_InitRequest(rivet_thread_private* private, Tcl_Interp *interp)
{
request_rec* r = private->r;
TclWebRequest* req = private->req;
- int content_type_len = strlen(r->content_type);
+ size_t content_type_len = strlen(r->content_type);
req->interp = interp;
req->req = r;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org