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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to