mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
fixes a warning when compiling under win32
This commit is contained in:
@@ -84,7 +84,7 @@ static inline char *smart_str_print_unsigned(char *buf, unsigned long num)
|
||||
|
||||
*p = '\0';
|
||||
do {
|
||||
*--p = (num % 10) + '0';
|
||||
*--p = (char)(num % 10) + '0';
|
||||
num /= 10;
|
||||
} while (num > 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user