$NetBSD: patch-ab,v 1.9 2004/08/17 09:54:30 drochner Exp $

--- pngtest.c.orig	2004-08-17 11:24:59.000000000 +0200
+++ pngtest.c
@@ -578,7 +578,7 @@ png_debug_free(png_structp png_ptr, png_
          }
          if (pinfo->next == NULL)
          {
-            fprintf(STDERR, "Pointer %x not found\n", (unsigned int)ptr);
+            fprintf(STDERR, "Pointer %p not found\n", ptr);
             break;
          }
          ppinfo = &pinfo->next;
@@ -1435,8 +1435,8 @@ main(int argc, char *argv[])
                current_allocation);
             while (pinfo != NULL)
             {
-               fprintf(STDERR, " %lu bytes at %x\n", pinfo->size, 
-                 (unsigned int) pinfo->pointer);
+               fprintf(STDERR, " %lu bytes at %p\n", pinfo->size, 
+                 pinfo->pointer);
                pinfo = pinfo->next;
             }
          }
@@ -1510,8 +1510,8 @@ main(int argc, char *argv[])
                 current_allocation);
              while (pinfo != NULL)
              {
-                fprintf(STDERR," %lu bytes at %x\n",
-                   pinfo->size, (unsigned int)pinfo->pointer);
+                fprintf(STDERR," %lu bytes at %p\n",
+                   pinfo->size, pinfo->pointer);
                 pinfo = pinfo->next;
              }
           }
