]> git.pld-linux.org Git - packages/d1x.git/commitdiff
- fix for 64-bit archs (pointers can have different size than int)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 29 Aug 2002 12:03:28 +0000 (12:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    d1x-types.patch -> 1.1

d1x-types.patch [new file with mode: 0644]

diff --git a/d1x-types.patch b/d1x-types.patch
new file mode 100644 (file)
index 0000000..dd96e4a
--- /dev/null
@@ -0,0 +1,20 @@
+--- d1x/main/game.c.orig       Sat Oct 28 11:31:08 2000
++++ d1x/main/game.c    Thu Aug 29 13:44:00 2002
+@@ -4677,7 +4677,7 @@
+ {
+       char    *i;
+-      mprintf((0, "Filling from %8x to %8x\n", start, end));
++      mprintf((0, "Filling from %p to %p\n", start, end));
+       for (i=start; i<end; i++)
+               *i = value;
+@@ -4691,7 +4691,7 @@
+       for (i=start; i<end; i++)
+               if (*i != value) {
+                       Int3();         //      The nast triple aught six bug...we can smell it...contact Mike!
+-                      Error("Oops, the nasty triple aught six bug.  Address == %8x\n", (int)i);
++                      Error("Oops, the nasty triple aught six bug.  Address == %p\n", i);
+               }
+ }
This page took 0.024569 seconds and 4 git commands to generate.