tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r511887 - /tomcat/connectors/trunk/jk/native/common/jk_map.c
Date Mon, 26 Feb 2007 16:47:22 GMT
Author: mturk
Date: Mon Feb 26 08:47:21 2007
New Revision: 511887

URL: http://svn.apache.org/viewvc?view=rev&rev=511887
Log:
Fix compile time warning. No functional change

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_map.c?view=diff&rev=511887&r1=511886&r2=511887
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_map.c Mon Feb 26 08:47:21 2007
@@ -365,7 +365,7 @@
             trim(v);
             if (strlen(v) && strlen(prp)) {
                 const char *oldv;
-                int off = strlen(prp) - JK_MAP_REFERENCE_SZ;
+                int off = (int)strlen(prp) - (int)JK_MAP_REFERENCE_SZ;
                 /* check the worker properties */
                 if (off <= 0 || strncmp(&prp[off], JK_MAP_REFERENCE, JK_MAP_REFERENCE_SZ)
) {
                     if (!jk_is_valid_property(prp)) {



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


Mime
View raw message