Commit 701de67b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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)
parent 883479f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -201,7 +201,7 @@ void *curl_dorealloc(void *ptr, size_t wantedsize,


  mem=(struct memdebug *)(Curl_crealloc)(mem, size);
  mem=(struct memdebug *)(Curl_crealloc)(mem, size);
  if(logfile)
  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);
            source, line, ptr, wantedsize, mem?mem->mem:NULL);


  if(mem) {
  if(mem) {