From fe1176d4438250e89f4da8ab1f2284aa130fc88d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 17 Dec 2006 18:30:50 +0000 Subject: [PATCH] Fixed compiler warning --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 61a6f4edd0..621c42d525 100644 --- a/main/main.c +++ b/main/main.c @@ -1076,7 +1076,7 @@ static void php_message_handler_for_zend(long message, void *data) if (message==ZMSG_MEMORY_LEAK_DETECTED) { zend_leak_info *t = (zend_leak_info *) data; - snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n", t->filename, t->lineno, (unsigned long)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); + snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%zu bytes), script=%s\n", t->filename, t->lineno, (unsigned long)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); if (t->orig_filename) { char relay_buf[512]; -- 2.50.1