tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1700560 - /tomcat/jk/trunk/native/common/jk_util.c
Date Tue, 01 Sep 2015 14:13:42 GMT
Author: rjung
Date: Tue Sep  1 14:13:42 2015
New Revision: 1700560

URL: http://svn.apache.org/r1700560
Log:
Silence another "possible loss of precision"
warning.

Modified:
    tomcat/jk/trunk/native/common/jk_util.c

Modified: tomcat/jk/trunk/native/common/jk_util.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_util.c?rev=1700560&r1=1700559&r2=1700560&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_util.c (original)
+++ tomcat/jk/trunk/native/common/jk_util.c Tue Sep  1 14:13:42 2015
@@ -1910,7 +1910,7 @@ int jk_check_buffer_size()
             max_len = len;
         props++;
     }
-    return JK_MAX_ATTRIBUTE_NAME_LEN - max_len;
+    return JK_MAX_ATTRIBUTE_NAME_LEN - (int)max_len;
 }
 
 /*



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


Mime
View raw message