diff options
Diffstat (limited to 'www/arena/patches/patch-aj')
-rw-r--r-- | www/arena/patches/patch-aj | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/www/arena/patches/patch-aj b/www/arena/patches/patch-aj deleted file mode 100644 index e19d55da02a..00000000000 --- a/www/arena/patches/patch-aj +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-aj,v 1.1 2000/02/09 01:01:22 fredb Exp $ - ---- Arena/Source/jpeg.c.orig Thu Feb 19 09:57:26 1998 -+++ Arena/Source/jpeg.c Tue Feb 8 18:33:17 2000 -@@ -531,8 +531,8 @@ - case 1: - cr = cg = cb = scan_buffer[xpos]; - GetColour(cr, cg, cb, &ulp); -- *dp++ = ((char*)&ulp)[0]; /* LSB first! */ -- *dp++ = ((char*)&ulp)[1]; -+ *dp++ = (ulp ) & 0xFF; /* LSB first! */ -+ *dp++ = (ulp >> 8) & 0xFF; - break; - - case 3: -@@ -540,8 +540,8 @@ - cg = scan_buffer[1+(xpos * 3)]; - cb = scan_buffer[2+(xpos * 3)]; - GetColour(cr, cg, cb, &ulp); -- *dp++ = ((char*)&ulp)[0]; /* LSB first! */ -- *dp++ = ((char*)&ulp)[1]; -+ *dp++ = (ulp ) & 0xFF; /* LSB first! */ -+ *dp++ = (ulp >> 8) & 0xFF; - break; - - default: |