svn: /php/php-src/branches/PHP_5_3/ext/standard/ var_unserializer.re

From: Date: Fri, 06 Aug 2010 18:20:41 +0000
Subject: svn: /php/php-src/branches/PHP_5_3/ext/standard/ var_unserializer.re
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63220@lists.php.net to get a copy of this message
rasmus Fri, 06 Aug 2010 18:20:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301935 Log: Fix 5.3 as well Changed paths: U php/php-src/branches/PHP_5_3/ext/standard/var_unserializer.re Modified: php/php-src/branches/PHP_5_3/ext/standard/var_unserializer.re =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/var_unserializer.re 2010-08-06 18:19:23 UTC (rev 301934) +++ php/php-src/branches/PHP_5_3/ext/standard/var_unserializer.re 2010-08-06 18:20:41 UTC (rev 301935) @@ -216,7 +216,7 @@ while (1) { cursor = (char)*p; if (cursor >= '0' && cursor <= '9') { - result = result * 10 + cursor - '0'; + result = result * 10 + (size_t)(cursor - (unsigned char)'0'); } else { break; }

« previous php.cvs (#63220) next »