cvs: /php4 main.c
| From: | Sascha Schumann | Date: | Sun, 05 Sep 1999 19:59:28 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4138@lists.php.net to get a copy of this message | ||
sas Sun Sep 5 15:59:28 1999 EDT
Modified files:
/php4 main.c
Log:
fix warning
Index: php4/main.c
diff -u php4/main.c:1.113 php4/main.c:1.114
--- php4/main.c:1.113 Sun Sep 5 15:49:54 1999
+++ php4/main.c Sun Sep 5 15:59:28 1999
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.113 1999/09/05 19:49:54 andi Exp $ */
+/* $Id: main.c,v 1.114 1999/09/05 19:59:28 sas Exp $ */
#include <stdio.h>
@@ -620,7 +620,7 @@
mem_header *t = (mem_header *) data;
void *ptr = (void *)((char *)t+sizeof(mem_header)+PLATFORM_PADDING);
- snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%0.8X (%d bytes), script=%s\n",
t->filename, t->lineno, (unsigned long)ptr, t->size,
SAFE_FILENAME(SG(request_info).path_translated));
+ snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%0.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) {
char relay_buf[512];