perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_cgi.c modperl_cgi.h
Date Thu, 08 Apr 2004 00:44:48 GMT
stas        2004/04/07 17:44:48

  Modified:    xs/Apache/Response Apache__Response.h
               src/modules/perl modperl_cgi.c modperl_cgi.h
  Log:
  fix incompatible pointer type warnings
  
  Revision  Changes    Path
  1.13      +1 -1      modperl-2.0/xs/Apache/Response/Apache__Response.h
  
  Index: Apache__Response.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Response/Apache__Response.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- Apache__Response.h	4 Mar 2004 06:01:13 -0000	1.12
  +++ Apache__Response.h	8 Apr 2004 00:44:48 -0000	1.13
  @@ -23,7 +23,7 @@
       const char *bodytext; \
       MP_CGI_HEADER_PARSER_OFF(rcfg); \
       SvPV_force(sv, len);            \
  -    modperl_cgi_header_parse(r, SvPVX(sv), &len, &bodytext);        \
  +    modperl_cgi_header_parse(r, SvPVX(sv), (apr_size_t*)&len, &bodytext); \
       if (len) {\
           MP_CHECK_WBUCKET_INIT("$r->send_cgi_header"); \
           modperl_wbucket_write(aTHX_ rcfg->wbucket, bodytext, &len); \
  
  
  
  1.5       +2 -2      modperl-2.0/src/modules/perl/modperl_cgi.c
  
  Index: modperl_cgi.c
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cgi.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- modperl_cgi.c	4 Mar 2004 06:01:07 -0000	1.4
  +++ modperl_cgi.c	8 Apr 2004 00:44:48 -0000	1.5
  @@ -16,13 +16,13 @@
   #include "mod_perl.h"
   
   MP_INLINE int modperl_cgi_header_parse(request_rec *r, char *buffer,
  -                                       int *len, const char **body)
  +                                       apr_size_t *len, const char **body)
   {
       int status;
       int termarg;
       const char *location;
       const char *tmp;
  -    int tlen, newln;
  +    apr_size_t tlen, newln;
   
       if (!buffer) {
           return DECLINED;
  
  
  
  1.4       +1 -1      modperl-2.0/src/modules/perl/modperl_cgi.h
  
  Index: modperl_cgi.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cgi.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- modperl_cgi.h	4 Mar 2004 06:01:07 -0000	1.3
  +++ modperl_cgi.h	8 Apr 2004 00:44:48 -0000	1.4
  @@ -32,6 +32,6 @@
    * @return status
    */
   MP_INLINE int modperl_cgi_header_parse(request_rec *r, char *buffer,
  -                                       int *len, const char **body);
  +                                       apr_size_t *len, const char **body);
   
   #endif /* MODPERL_CGI_H */
  
  
  

Mime
View raw message