tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1195856 - /tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
Date Tue, 01 Nov 2011 07:36:07 GMT
Author: mturk
Date: Tue Nov  1 07:36:07 2011
New Revision: 1195856

URL: http://svn.apache.org/viewvc?rev=1195856&view=rev
Log:
Suppress size_t -> int warning

Modified:
    tomcat/jk/trunk/native/iis/jk_isapi_plugin.c

Modified: tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/jk_isapi_plugin.c?rev=1195856&r1=1195855&r2=1195856&view=diff
==============================================================================
--- tomcat/jk/trunk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/jk/trunk/native/iis/jk_isapi_plugin.c Tue Nov  1 07:36:07 2011
@@ -2000,7 +2000,7 @@ static DWORD handle_notify_event(PHTTP_F
         else if (uri_select_option == URI_SELECT_OPT_ESCAPED) {
             size_t elen  = strlen(uri) * 4;
             char *escuri = jk_pool_alloc(&pool, elen);
-            if (!escape_url(uri, escuri, elen)) {
+            if (!escape_url(uri, escuri, (int)elen)) {
                 jk_log(logger, JK_LOG_ERROR,
                        "[%s] re-encoding request exceeds maximum buffer size.",
                        uri);
@@ -2017,7 +2017,7 @@ static DWORD handle_notify_event(PHTTP_F
         else if (uri_select_option == URI_SELECT_OPT_PROXY) {
             size_t clen  = strlen(uri) * 4;
             char *canuri = jk_pool_alloc(&pool, clen);
-            if (!jk_canonenc(uri, canuri, clen)) {
+            if (!jk_canonenc(uri, canuri, (int)clen)) {
                 jk_log(logger, JK_LOG_ERROR,
                        "[%s] re-encoding request exceeds maximum buffer size.",
                        uri);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message