Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_hash.h
| From: | (Marcus B�rger) | Date: | Tue, 22 Jul 2003 21:03:49 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_hash.h | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1516@lists.php.net to get a copy of this message | ||
Hello Marcus,
Tuesday, July 22, 2003, 10:53:56 PM, you wrote:
MB> helly Tue Jul 22 16:53:56 2003 EDT
MB> Modified files:
MB> /ZendEngine2 zend_hash.h
MB> Log:
MB> Fix for the moment
MB> Index: ZendEngine2/zend_hash.h
MB> diff -u ZendEngine2/zend_hash.h:1.70 ZendEngine2/zend_hash.h:1.71
MB> --- ZendEngine2/zend_hash.h:1.70 Tue Jul 22 12:06:07 2003
MB> +++ ZendEngine2/zend_hash.h Tue Jul 22 16:53:56 2003
MB> @@ -17,7 +17,7 @@
MB> +----------------------------------------------------------------------+
MB> */
MB> -/* $Id: zend_hash.h,v 1.70 2003/07/22 16:06:07 zeev Exp $ */
MB> +/* $Id: zend_hash.h,v 1.71 2003/07/22 20:53:56 helly Exp $ */
MB> #ifndef ZEND_HASH_H
MB> #define ZEND_HASH_H
MB> @@ -288,7 +288,7 @@
MB> static inline int zend_symtable_update(HashTable *ht, char *arKey, uint nKeyLength, void
MB> *pData, uint nDataSize, void **pDest) \
MB> {
MB> - int idx;
MB> + long idx;
And so forth...
Zeev i wasn't so sure what you really had in mind but at least withthis fix
the variable size equal and call by reference is done with the correct type.
However the functions beeing called expect a parameter of type 'ulong' so
perhaps you might want to change zend_is_numeric_key to expect third parameter
of type 'ulong*'.
Best regards,
Marcus mailto:helly@php.net