From 701de67b7930a4e4953dd82095c141beda917b48 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Jun 2005 13:30:23 +0000 Subject: [PATCH] use %p to printf pointers since %x doesn't work properly on tru64 for this (and besides, we should be using the same %-code for all pointers) --- lib/memdebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/memdebug.c b/lib/memdebug.c index d56c637fc..2b6c55c3b 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -201,7 +201,7 @@ void *curl_dorealloc(void *ptr, size_t wantedsize, mem=(struct memdebug *)(Curl_crealloc)(mem, size); if(logfile) - fprintf(logfile, "MEM %s:%d realloc(0x%x, %zd) = %p\n", + fprintf(logfile, "MEM %s:%d realloc(%p, %zd) = %p\n", source, line, ptr, wantedsize, mem?mem->mem:NULL); if(mem) {