diff options
Diffstat (limited to 'games/xdoom/patches/patch-aw')
-rw-r--r-- | games/xdoom/patches/patch-aw | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/games/xdoom/patches/patch-aw b/games/xdoom/patches/patch-aw index 00427ccb9dd..b0815757d57 100644 --- a/games/xdoom/patches/patch-aw +++ b/games/xdoom/patches/patch-aw @@ -1,7 +1,7 @@ -$NetBSD: patch-aw,v 1.1 2000/02/03 16:01:16 abs Exp $ +$NetBSD: patch-aw,v 1.2 2002/08/22 05:08:32 mycroft Exp $ --- linuxdoom-1.10/z_zone.c.orig Mon Dec 22 21:07:09 1997 -+++ linuxdoom-1.10/z_zone.c Thu Feb 3 01:34:04 2000 ++++ linuxdoom-1.10/z_zone.c Thu Aug 22 05:00:10 2002 @@ -192,8 +192,12 @@ memblock_t* newblock; memblock_t* base; @@ -16,3 +16,12 @@ $NetBSD: patch-aw,v 1.1 2000/02/03 16:01:16 abs Exp $ // scan through the block list, // looking for the first free block // of sufficient size, +@@ -437,7 +441,7 @@ + if (block->id != ZONEID) + I_Error ("Z_ChangeTag: freed a pointer without ZONEID"); + +- if (tag >= PU_PURGELEVEL && (unsigned)block->user < 0x100) ++ if (tag >= PU_PURGELEVEL && block->user < (void **)0x100) + I_Error ("Z_ChangeTag: an owner is required for purgable blocks"); + + block->tag = tag; |