cvs: php4 /ext/standard php_smart_str.h
| From: | Frank M. Kromann | Date: | Wed, 08 May 2002 03:56:43 +0000 |
| Subject: | cvs: php4 /ext/standard php_smart_str.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11742@lists.php.net to get a copy of this message | ||
fmk Tue May 7 23:56:43 2002 EDT
Modified files:
/php4/ext/standard php_smart_str.h
Log:
Kill a compiler warning on Win32
Index: php4/ext/standard/php_smart_str.h
diff -u php4/ext/standard/php_smart_str.h:1.20 php4/ext/standard/php_smart_str.h:1.21
--- php4/ext/standard/php_smart_str.h:1.20 Mon Apr 22 16:42:01 2002
+++ php4/ext/standard/php_smart_str.h Tue May 7 23:56:43 2002
@@ -84,7 +84,7 @@
*p = '\0';
do {
- *--p = (num % 10) + '0';
+ *--p = (char)(num % 10) + '0';
num /= 10;
} while (num > 0);