summaryrefslogtreecommitdiff
path: root/misc/par/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'misc/par/patches/patch-ai')
-rw-r--r--misc/par/patches/patch-ai15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/par/patches/patch-ai b/misc/par/patches/patch-ai
new file mode 100644
index 00000000000..9e92ae35f8a
--- /dev/null
+++ b/misc/par/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1.1.1 2002/01/04 19:53:23 fredb Exp $
+
+--- Arena/Source/gif.c.orig Sun Feb 15 10:09:16 1998
++++ Arena/Source/gif.c Tue Feb 8 18:31:08 2000
+@@ -1121,8 +1121,8 @@
+
+ if (bpp == 2)
+ {
+- *pp++ = ((char*)&ulp)[0]; /* LSB first! */
+- *pp++ = ((char*)&ulp)[1];
++ *pp++ = (ulp ) & 0xff; /* LSB first! */
++ *pp++ = (ulp >> 8) & 0xff;
+ }
+ else
+ {