1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

Fix warnings

This commit is contained in:
Stanislav Malyshev
2001-07-19 08:12:12 +00:00
parent 1734ff698c
commit dfe15ad070

View File

@@ -219,7 +219,7 @@ php_sprintf_appendint(char **buffer, int *pos, int *size, long number,
do {
nmagn = magn / 10;
numbuf[--i] = (magn - (nmagn * 10)) + '0';
numbuf[--i] = (unsigned char)(magn - (nmagn * 10)) + '0';
magn = nmagn;
}
while (magn > 0 && i > 0);
@@ -254,7 +254,7 @@ php_sprintf_appenduint(char **buffer, int *pos, int *size,
do {
nmagn = magn / 10;
numbuf[--i] = (magn - (nmagn * 10)) + '0';
numbuf[--i] = (unsigned char)(magn - (nmagn * 10)) + '0';
magn = nmagn;
}
while (magn > 0 && i > 0);