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/native2/server/apache2 jk_service_apache2.c
Date Fri, 27 Sep 2002 13:14:09 GMT
mturk       2002/09/27 06:14:09

  Modified:    jk/native2/server/apache2 jk_service_apache2.c
  Log:
  Fix the compile warning unsigned -> int
  
  Revision  Changes    Path
  1.29      +3 -3      jakarta-tomcat-connectors/jk/native2/server/apache2/jk_service_apache2.c
  
  Index: jk_service_apache2.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/jk_service_apache2.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- jk_service_apache2.c	14 Jul 2002 13:37:28 -0000	1.28
  +++ jk_service_apache2.c	27 Sep 2002 13:14:09 -0000	1.29
  @@ -230,7 +230,7 @@
   #endif
   
   static int JK_METHOD jk2_service_apache2_write(jk_env_t *env, jk_ws_service_t *s,
  -                                               const void *b, int len)
  +                                               const void *b, unsigned int len)
   {
       size_t r = 0;
       long ll=len;
  @@ -315,7 +315,7 @@
   static long jk2_get_content_length(jk_env_t *env, request_rec *r)
   {
       if(r->clength > 0) {
  -        return r->clength;
  +        return (long)(r->clength);
       } else {
           char *lenp = (char *)apr_table_get(r->headers_in, "Content-Length");
   
  
  
  

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


Mime
View raw message