From 2c3c36f906468c03a97e1ffcdec9ffe92e47d80f Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 17 Feb 2005 03:32:18 +0000 Subject: [PATCH] Clarified some logic. Made it 64bit happy. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@878 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/wad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/wad.c b/engine/client/wad.c index d9e84d25..6491f66e 100644 --- a/engine/client/wad.c +++ b/engine/client/wad.c @@ -384,7 +384,7 @@ qbyte *W_ConvertWAD3Texture(miptex_t *tex, int *width, int *height, qboolean *us if (!data) return NULL; - in = (qbyte *)((int) tex + tex->offsets[0]); + in = (qbyte *)tex + tex->offsets[0]; *width = tex->width; *height = tex->height;