cvs: php4 /ext/standard php_smart_str.h

From: Date: Mon, 22 Apr 2002 20:42:01 +0000
Subject: cvs: php4 /ext/standard php_smart_str.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11317@lists.php.net to get a copy of this message
sas Mon Apr 22 16:42:01 2002 EDT Modified files: /php4/ext/standard php_smart_str.h Log: remove unnecessary casts # if you mind the bogus warnings, you can either switch the compiler # or decrease the warning level Index: php4/ext/standard/php_smart_str.h diff -u php4/ext/standard/php_smart_str.h:1.19 php4/ext/standard/php_smart_str.h:1.20 --- php4/ext/standard/php_smart_str.h:1.19 Mon Apr 22 14:02:01 2002 +++ php4/ext/standard/php_smart_str.h Mon Apr 22 16:42:01 2002 @@ -84,7 +84,7 @@ *p = '\0'; do { - *--p = (char)(num % 10) + '0'; + *--p = (num % 10) + '0'; num /= 10; } while (num > 0);

« previous php.cvs (#11317) next »