summaryrefslogtreecommitdiff
path: root/ext/standard/php_smart_str.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-04-22 18:02:01 +0000
committerHarald Radi <phanto@php.net>2002-04-22 18:02:01 +0000
commitb29604fefc7885d43aaa5d7f612d1fa32d8a1910 (patch)
tree9bdbecf00a0748b3f4506e519a2c925098cbff9e /ext/standard/php_smart_str.h
parent42555b189e2e2ea8c9fd361742beb9bb1f197810 (diff)
downloadphp-git-b29604fefc7885d43aaa5d7f612d1fa32d8a1910.tar.gz
fixes a warning when compiling under 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);