Re: cvs: php-src /ext/standard basic_functions.c

From: Date: Wed, 20 Aug 2008 18:09:37 +0000
Subject: Re: cvs: php-src /ext/standard basic_functions.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52533@lists.php.net to get a copy of this message
Hi!
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. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.cvs (#52533) next »