cvs: php-src /main main.c
| From: | Ilia Alshanetsky | Date: | Sun, 17 Dec 2006 18:30:50 +0000 |
| Subject: | cvs: php-src /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42124@lists.php.net to get a copy of this message | ||
iliaa Sun Dec 17 18:30:50 2006 UTC
Modified files:
/php-src/main main.c
Log:
Fixed compiler warning
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.712&r2=1.713&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.712 php-src/main/main.c:1.713
--- php-src/main/main.c:1.712 Fri Dec 8 19:13:31 2006
+++ php-src/main/main.c Sun Dec 17 18:30:50 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.712 2006/12/08 19:13:31 andrei Exp $ */
+/* $Id: main.c,v 1.713 2006/12/17 18:30:50 iliaa Exp $ */
/* {{{ includes
*/
@@ -1076,7 +1076,7 @@
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];