tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r479961 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Date Tue, 28 Nov 2006 09:33:48 GMT
Author: rjung
Date: Tue Nov 28 01:33:48 2006
New Revision: 479961

URL: http://svn.apache.org/viewvc?view=rev&rev=479961
Log:
Fix compiler 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=479961&r1=479960&r2=479961
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Tue Nov 28 01:33:48 2006
@@ -151,7 +151,7 @@
     const char        *doctype;
     int               read_only;
     char              **user_names;
-    int               num_of_users;
+    unsigned int      num_of_users;
     jk_worker_t       worker;
     status_endpoint_t ep;
     jk_worker_env_t   *we;
@@ -2316,7 +2316,7 @@
 
     if (w->num_of_users) {
         if (s->remote_user) {
-            int i;
+            unsigned int i;
             denied = 1;
             for (i = 0; i < w->num_of_users; i++) {
                 if (!strcmp(s->remote_user, w->user_names[i])) {
@@ -2654,7 +2654,7 @@
     JK_TRACE_ENTER(log);
     if (pThis && pThis->worker_private) {
         status_worker_t *p = pThis->worker_private;
-        int i;
+        unsigned int i;
         p->we = we;
         p->css = jk_get_worker_style_sheet(props, p->name, NULL);
         p->ns = jk_get_worker_name_space(props, p->name, JK_NSDEF);



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


Mime
View raw message