You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2007/02/26 17:47:22 UTC

svn commit: r511887 - /tomcat/connectors/trunk/jk/native/common/jk_map.c

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