pajoye                                   Wed, 28 Apr 2010 20:47:13 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=298727

Log:
- fix build (void is evil)

Changed paths:
    U   php/php-src/trunk/Zend/zend_compile.c

Modified: php/php-src/trunk/Zend/zend_compile.c
===================================================================
--- php/php-src/trunk/Zend/zend_compile.c       2010-04-28 20:37:55 UTC (rev 
298726)
+++ php/php-src/trunk/Zend/zend_compile.c       2010-04-28 20:47:13 UTC (rev 
298727)
@@ -409,7 +409,7 @@
        lc_literal = zend_add_literal(CG(active_op_array), &c);
        CALCULATE_LITERAL_HASH(lc_literal);

-       ns_separator = zend_memrchr(Z_STRVAL_P(zv), '\\', Z_STRLEN_P(zv)) + 1;
+       ns_separator = (char *) zend_memrchr(Z_STRVAL_P(zv), '\\', 
Z_STRLEN_P(zv)) + 1;
        lc_len = Z_STRLEN_P(zv) - (ns_separator - Z_STRVAL_P(zv));
        lc_name = zend_str_tolower_dup(ns_separator, lc_len);
        ZVAL_STRINGL(&c, lc_name, lc_len, 0);

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

Reply via email to