tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r549841 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Fri, 22 Jun 2007 15:22:48 GMT
Author: rjung
Date: Fri Jun 22 08:22:47 2007
New Revision: 549841

URL: http://svn.apache.org/viewvc?view=rev&rev=549841
Log:
Fix compiler waring.

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/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?view=diff&rev=549841&r1=549840&r2=549841
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Fri Jun 22 08:22:47 2007
@@ -1377,7 +1377,7 @@
         if (ae->left_bytes_to_send > 0) {
             int len = AJP13_MAX_SEND_BODY_SZ;
             if (ae->left_bytes_to_send < (jk_uint64_t)AJP13_MAX_SEND_BODY_SZ) {
-                len = ae->left_bytes_to_send;
+                len = (int)ae->left_bytes_to_send;
             }
             if ((len = ajp_read_into_msg_buff(ae, s, op->post, len, l)) < 0) {
                 /* the browser stop sending data, no need to recover */



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


Mime
View raw message