cvs: php-src(PHP_5_2) /main main.c
| From: | Ilia Alshanetsky | Date: | Sun, 17 Dec 2006 18:30:36 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42123@lists.php.net to get a copy of this message | ||
iliaa Sun Dec 17 18:30:36 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main main.c
Log:
Fixed compiler warning
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.640.2.23.2.21&r2=1.640.2.23.2.22&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.21 php-src/main/main.c:1.640.2.23.2.22
--- php-src/main/main.c:1.640.2.23.2.21 Mon Dec 4 18:37:15 2006
+++ php-src/main/main.c Sun Dec 17 18:30:36 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.640.2.23.2.21 2006/12/04 18:37:15 stas Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.22 2006/12/17 18:30:36 iliaa Exp $ */
/* {{{ includes
*/
@@ -967,7 +967,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];