summaryrefslogtreecommitdiff
path: root/games/xdoom/patches/patch-ba
blob: 9750ee546d376e8bef4152db9500b0b118d4a6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.1 2002/08/22 05:08:32 mycroft Exp $

--- linuxdoom-1.10/p_saveg.c.orig	Sun Dec 21 16:03:15 1997
+++ linuxdoom-1.10/p_saveg.c	Thu Aug 22 04:47:28 2002
@@ -37,7 +37,7 @@
 
 // Pads save_p to a 4-byte boundary
 //  so that the load/save works on SGI&Gecko.
-#define PADSAVEP()	save_p += (4 - ((int) save_p & 3)) & 3
+#define PADSAVEP()	save_p += (4 - ((long) save_p & 3)) & 3