tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c
Date Fri, 23 Sep 2005 07:32:24 GMT
mturk       2005/09/23 00:32:24

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  Fix compile time warnings. No functional change.
  
  Revision  Changes    Path
  1.96      +4 -4      jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- jk_lb_worker.c	23 Sep 2005 07:18:21 -0000	1.95
  +++ jk_lb_worker.c	23 Sep 2005 07:32:24 -0000	1.96
  @@ -126,8 +126,8 @@
                               result = id_start;
                           }
                           else {
  -                            int osz = strlen(result) + 1;
  -                            int sz = osz + strlen(id_start) + 1;
  +                            size_t osz = strlen(result) + 1;
  +                            size_t sz = osz + strlen(id_start) + 1;
                               result =
                                   jk_pool_realloc(s->pool, sz, result, osz);
                               strcat(result, ";");
  @@ -664,7 +664,7 @@
                       /* In case of attempt > num of workers sleep for 100 ms
                        * on each consequtive attempt.
                        */
  -                    if (attempt > p->worker->num_of_workers)
  +                    if (attempt > (int)p->worker->num_of_workers)
                           jk_sleep_def();    
                       continue;
                   }
  
  
  

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


Mime
View raw message