svn: php/php-src/trunk/ext/unicode/ property.c

From: Date: Mon, 20 Jul 2009 09:44:52 +0000
Subject: svn: php/php-src/trunk/ext/unicode/ property.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59648@lists.php.net to get a copy of this message
pajoye Mon, 20 Jul 2009 09:44:52 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=284420 Changed paths: U php/php-src/trunk/ext/unicode/property.c Log: - silent warnings Modified: php/php-src/trunk/ext/unicode/property.c =================================================================== --- php/php-src/trunk/ext/unicode/property.c 2009-07-20 09:42:52 UTC (rev 284419) +++ php/php-src/trunk/ext/unicode/property.c 2009-07-20 09:44:52 UTC (rev 284420) @@ -321,7 +321,7 @@ php_error(E_WARNING, "Radix has to be in 2-36 range"); return; } - RETURN_LONG(u_digit(ch, radix)); + RETURN_LONG(u_digit(ch, (int8_t) radix)); } else { RETURN_LONG(u_charDigitValue(ch)); } @@ -461,7 +461,7 @@ return; } } - ch = u_forDigit(digit, radix); + ch = u_forDigit(digit, (int8_t) radix); if (ch == (UChar32)0) { RETURN_FALSE;

« previous php.cvs (#59648) next »