summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-04-29 12:58:50 +0000
committerAndi Gutmans <andi@php.net>2001-04-29 12:58:50 +0000
commit02b9292ff218b4113c01020f0c62feb090c8fa39 (patch)
treec90ea857ab9f479dd4bfa4a9678c7a5319d1319f /main
parentc8a768a2fb16af7da47a4cbafee1bf634d12c480 (diff)
downloadphp-git-02b9292ff218b4113c01020f0c62feb090c8fa39.tar.gz
- Update to work with latest Zend
PR: Submitted by: Reviewed by: Obtained from:
Diffstat (limited to 'main')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index f0d9156e6c..04d0c16325 100644
--- a/main/main.c
+++ b/main/main.c
@@ -526,7 +526,7 @@ static void php_message_handler_for_zend(long message, void *data)
if (message==ZMSG_MEMORY_LEAK_DETECTED) {
zend_mem_header *t = (zend_mem_header *) data;
- void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+PLATFORM_PADDING);
+ void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+MEM_HEADER_PADDING);
snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n", t->filename, t->lineno, (unsigned long)ptr, t->size, SAFE_FILENAME(SG(request_info).path_translated));
if (t->orig_filename) {