summaryrefslogtreecommitdiff
path: root/ext/standard/php_smart_str.h
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2002-05-08 03:56:43 +0000
committerFrank M. Kromann <fmk@php.net>2002-05-08 03:56:43 +0000
commitc75e794ebe9563653de81cdbc4cf6c835d1f6b49 (patch)
tree9a1d9f440b8ffe5bbbb726d0f24c8413b6134a2f /ext/standard/php_smart_str.h
parent5a33b8ea011389bd769dafc799afa54926b3bc12 (diff)
downloadphp-git-c75e794ebe9563653de81cdbc4cf6c835d1f6b49.tar.gz
Kill a compiler warning on Win32
Diffstat (limited to 'ext/standard/php_smart_str.h')
-rw-r--r--ext/standard/php_smart_str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h
index c0c2e770bb..d05e615fe7 100644
--- a/ext/standard/php_smart_str.h
+++ b/ext/standard/php_smart_str.h
@@ -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);