httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src util_snprintf.c
Date Sun, 29 Jun 1997 17:49:03 GMT
ben         97/06/29 10:49:02

  Modified:    src       util_snprintf.c
  Log:
  Fix VC++ warnings.
  
  Revision  Changes    Path
  1.6       +1 -1      apache/src/util_snprintf.c
  
  Index: util_snprintf.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util_snprintf.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -C3 -r1.5 -r1.6
  *** util_snprintf.c	1997/02/08 01:33:56	1.5
  --- util_snprintf.c	1997/06/29 17:49:02	1.6
  ***************
  *** 390,396 ****
        do {
    	register u_wide_int new_magnitude = magnitude / 10;
    
  ! 	*--p = magnitude - new_magnitude * 10 + '0';
    	magnitude = new_magnitude;
        }
        while (magnitude);
  --- 390,396 ----
        do {
    	register u_wide_int new_magnitude = magnitude / 10;
    
  ! 	*--p = (char)(magnitude - new_magnitude * 10 + '0');
    	magnitude = new_magnitude;
        }
        while (magnitude);
  
  
  

Mime
View raw message