cvs: php4 /ext/standard php_smart_str.h
| From: | Harald Radi | Date: | Mon, 22 Apr 2002 18:02:02 +0000 |
| Subject: | cvs: php4 /ext/standard php_smart_str.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11312@lists.php.net to get a copy of this message | ||
phanto Mon Apr 22 14:02:02 2002 EDT
Modified files:
/php4/ext/standard php_smart_str.h
Log:
fixes a warning when compiling under win32
Index: php4/ext/standard/php_smart_str.h
diff -u php4/ext/standard/php_smart_str.h:1.18 php4/ext/standard/php_smart_str.h:1.19
--- php4/ext/standard/php_smart_str.h:1.18 Sat Apr 20 21:17:49 2002
+++ php4/ext/standard/php_smart_str.h Mon Apr 22 14:02:01 2002
@@ -84,7 +84,7 @@
*p = '\0';
do {
- *--p = (num % 10) + '0';
+ *--p = (char)(num % 10) + '0';
num /= 10;
} while (num > 0);