On 20.08.2008 22:09, Stanislav Malyshev wrote:

 static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list 
args, zend_hash_key *hash_key)
-       zval *retval = (zval *) va_arg(args, int);
+       zval *retval = (zval *)(long)va_arg(args, int);

Any reason why you fetch int if you need zval *? Also, zval * doesn't have to fit into int.

I was just fixing the warning, I have no idea why this code looks so weird.

Wbr, Antony Dovgal

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

Reply via email to