cvs: Zend(PHP_4_3) / zend_hash.c
| From: | Jani Taskinen | Date: | Thu, 28 Apr 2005 07:34:33 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3607@lists.php.net to get a copy of this message | ||
sniper Thu Apr 28 03:34:33 2005 EDT
Modified files: (Branch: PHP_4_3)
/Zend zend_hash.c
Log:
MFH: Fix compile warnings
http://cvs.php.net/diff.php/Zend/zend_hash.c?r1=1.87.4.7&r2=1.87.4.8&ty=u
Index: Zend/zend_hash.c
diff -u Zend/zend_hash.c:1.87.4.7 Zend/zend_hash.c:1.87.4.8
--- Zend/zend_hash.c:1.87.4.7 Mon Apr 25 02:14:50 2005
+++ Zend/zend_hash.c Thu Apr 28 03:34:32 2005
@@ -96,13 +96,13 @@
}
switch (ht->inconsistent) {
case HT_IS_DESTROYING:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is being destroyed", file, line, ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht);
break;
case HT_DESTROYED:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is already destroyed", file, line,
ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht);
break;
case HT_CLEANING:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is being cleaned", file, line, ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht);
break;
}
zend_bailout();
@@ -1318,14 +1318,14 @@
for (i = 0; i < ht->nTableSize; i++) {
p = ht->arBuckets[i];
while (p != NULL) {
- zend_output_debug_string(0, "%s <==> 0x%X\n", p->arKey, p->h);
+ zend_output_debug_string(0, "%s <==> 0x%lX\n", p->arKey, p->h);
p = p->pNext;
}
}
p = ht->pListTail;
while (p != NULL) {
- zend_output_debug_string(0, "%s <==> 0x%X\n", p->arKey, p->h);
+ zend_output_debug_string(0, "%s <==> 0x%lX\n", p->arKey, p->h);
p = p->pListLast;
}
}