cvs: ZendEngine2 / zend_hash.h
| From: | Marcus Boerger | Date: | Tue, 22 Jul 2003 20:53:56 +0000 |
| Subject: | cvs: ZendEngine2 / zend_hash.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1515@lists.php.net to get a copy of this message | ||
helly Tue Jul 22 16:53:56 2003 EDT
Modified files:
/ZendEngine2 zend_hash.h
Log:
Fix for the moment
Index: ZendEngine2/zend_hash.h
diff -u ZendEngine2/zend_hash.h:1.70 ZendEngine2/zend_hash.h:1.71
--- ZendEngine2/zend_hash.h:1.70 Tue Jul 22 12:06:07 2003
+++ ZendEngine2/zend_hash.h Tue Jul 22 16:53:56 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.h,v 1.70 2003/07/22 16:06:07 zeev Exp $ */
+/* $Id: zend_hash.h,v 1.71 2003/07/22 20:53:56 helly Exp $ */
#ifndef ZEND_HASH_H
#define ZEND_HASH_H
@@ -288,7 +288,7 @@
static inline int zend_symtable_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData,
uint nDataSize, void **pDest) \
{
- int idx;
+ long idx;
if (zend_is_numeric_key(arKey, nKeyLength, &idx)) {
return zend_hash_index_update(ht, idx, pData, nDataSize, pDest);
@@ -300,7 +300,7 @@
static inline int zend_symtable_del(HashTable *ht, char *arKey, uint nKeyLength)
{
- int idx;
+ long idx;
if (zend_is_numeric_key(arKey, nKeyLength, &idx)) {
return zend_hash_index_del(ht, idx);
@@ -312,7 +312,7 @@
static inline int zend_symtable_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData)
{
- int idx;
+ long idx;
if (zend_is_numeric_key(arKey, nKeyLength, &idx)) {
return zend_hash_index_find(ht, idx, pData);
@@ -324,7 +324,7 @@
static inline int zend_symtable_exists(HashTable *ht, char *arKey, uint nKeyLength)
{
- int idx;
+ long idx;
if (zend_is_numeric_key(arKey, nKeyLength, &idx)) {
return zend_hash_index_exists(ht, idx);