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 2006/12/06 19:39:48 UTC
svn commit: r483174 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Author: mturk
Date: Wed Dec 6 10:39:47 2006
New Revision: 483174
URL: http://svn.apache.org/viewvc?view=rev&rev=483174
Log:
Fix some compile time warnings.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_status.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=483174&r1=483173&r2=483174
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Wed Dec 6 10:39:47 2006
@@ -3111,8 +3111,8 @@
const char *str = s->query_string;
char *buf = jk_pool_alloc(s->pool, sizeof(char *) * (strlen(str)+1));
int result = 0;
- int scan = 0;
- int len = strlen(JK_STATUS_ARG_REFRESH);
+ size_t scan = 0;
+ size_t len = strlen(JK_STATUS_ARG_REFRESH);
while (str[scan] != '\0') {
if (strncmp(&str[scan], JK_STATUS_ARG_REFRESH, len) == 0 &&
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org