summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-ab
blob: bc148e8239f9c1e79512537b2638303c1f1877d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- pngtest.c.orig	Thu Oct  3 13:32:30 2002
+++ pngtest.c	Mon Nov  4 14:44:39 2002
@@ -567,7 +567,7 @@
          }
          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;
@@ -1422,8 +1422,8 @@
                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;
             }
          }
@@ -1497,8 +1497,8 @@
                 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;
              }
           }