mirror of
https://github.com/curl/curl.git
synced 2026-04-24 02:52:13 +03:00
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:
parent
883479f01e
commit
701de67b79
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue