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)
This commit is contained in:
Daniel Stenberg 2005-06-30 13:30:23 +00:00
parent 883479f01e
commit 701de67b79
1 changed files with 1 additions and 1 deletions

View File

@ -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) {