diff options
Diffstat (limited to 'games/xdoom/patches/patch-as')
-rw-r--r-- | games/xdoom/patches/patch-as | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/xdoom/patches/patch-as b/games/xdoom/patches/patch-as new file mode 100644 index 00000000000..5370b302c2e --- /dev/null +++ b/games/xdoom/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD: patch-as,v 1.1 2000/02/03 16:01:15 abs Exp $ + +--- linuxdoom-1.10/r_draw.c.orig Mon Dec 22 20:58:20 1997 ++++ linuxdoom-1.10/r_draw.c Thu Feb 3 01:34:01 2000 +@@ -461,7 +461,7 @@ + int i; + + translationtables = Z_Malloc (256*3+255, PU_STATIC, 0); +- translationtables = (byte *)(( (int)translationtables + 255 )& ~255); ++ translationtables = (byte *)(( (long)translationtables + 255 )& ~255L); + + // translate just the 16 green colors + for (i=0 ; i<256 ; i++) |