You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Ben Laurie <be...@hyperreal.com> on 1997/06/29 19:49:03 UTC
cvs commit: apache/src util_snprintf.c
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);