From: Ilia Alshanetsky Date: Sun, 17 Dec 2006 18:30:50 +0000 (+0000) Subject: Fixed compiler warning X-Git-Tag: RELEASE_1_0_0RC1~676 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe1176d4438250e89f4da8ab1f2284aa130fc88d;p=php Fixed compiler warning --- 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];