Author: rjung Date: Mon Jun 25 09:04:31 2007 New Revision: 550530 URL: http://svn.apache.org/viewvc?view=rev&rev=550530 Log: Fix comparison between signed and unsigned type. Uncritical here, because value of this config parameter won't be negative or very large.
Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?view=diff&rev=550530&r1=550529&r2=550530 ============================================================================== --- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original) +++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Mon Jun 25 09:04:31 2007 @@ -1094,7 +1094,7 @@ rec->s->reply_timeouts++; } if (service_stat != JK_REPLY_TIMEOUT || - rec->s->reply_timeouts > p->worker->s->max_reply_timeouts) { + rec->s->reply_timeouts > (unsigned)p->worker->s->max_reply_timeouts) { /* * Service failed !!! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]