pkgsrc/games/xdoom/patches/patch-as
wiz 5ea5107654 Re-add xdoom, requested by drochner.
Address PR 24024 by marking it as not-for-lp64platforms.
2010-02-22 21:58:47 +00:00

13 lines
493 B
Text

$NetBSD: patch-as,v 1.3 2010/02/22 21:58:47 wiz 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++)