mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
Fixed compiler warning
This commit is contained in:
parent
503a78bc17
commit
fe1176d443
@ -1076,7 +1076,7 @@ static void php_message_handler_for_zend(long message, void *data)
|
|||||||
if (message==ZMSG_MEMORY_LEAK_DETECTED) {
|
if (message==ZMSG_MEMORY_LEAK_DETECTED) {
|
||||||
zend_leak_info *t = (zend_leak_info *) data;
|
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) {
|
if (t->orig_filename) {
|
||||||
char relay_buf[512];
|
char relay_buf[512];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user