httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_include.c
Date Sat, 10 Jun 2000 18:51:26 GMT
trawick     00/06/10 11:51:25

  Modified:    src/modules/standard mod_include.c
  Log:
  cast ap_snprintf() argument to the type expected by the format string
  (to fix gcc warning on FreeBSD)
  
  Revision  Changes    Path
  1.36      +1 -1      apache-2.0/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_include.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- mod_include.c	2000/06/06 21:45:15	1.35
  +++ mod_include.c	2000/06/10 18:51:24	1.36
  @@ -1196,7 +1196,7 @@
   #if defined(AP_OFF_T_IS_QUAD)
                       ap_snprintf(tag, sizeof(tag), "%qd", finfo.size);
   #else
  -                    ap_snprintf(tag, sizeof(tag), "%ld", finfo.size);
  +                    ap_snprintf(tag, sizeof(tag), "%ld", (long)finfo.size);
   #endif
                       l = strlen(tag);    /* grrr */
                       for (x = 0; x < l; x++) {
  
  
  

Mime
View raw message