Author: mturk
Date: Thu Mar 16 00:44:48 2006
New Revision: 386288

URL: http://svn.apache.org/viewcvs?rev=386288&view=rev
Log:
Cast fix for the int/uint.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=386288&r1=386287&r2=386288&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Thu Mar 16 
00:44:48 2006
@@ -1389,7 +1389,7 @@
              * and the length of the chunk (2 bytes). The remaining part of
              * the message is the chunk.
              */
-            if (len > msg->len - 3) {
+            if (len > (unsigned int)(msg->len - 3)) {
                 jk_log(l, JK_LOG_ERROR,
                        "Chunk length too large. Length of AJP message is %i,"
                        " chunk length is %i.", msg->len, len);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to