From 603987edca0ef1132be0d2e1698c9e850cf3b08f Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 30 Aug 2005 07:34:33 +0000 Subject: [PATCH] make compile on MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5671 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index 3d65e72d..ab7de28c 100644 --- a/model_shared.c +++ b/model_shared.c @@ -189,7 +189,7 @@ model_t *Mod_LoadModel(model_t *mod, qboolean crash, qboolean checkdisk, qboolea if (buf) { - char *bufend = buf + fs_filesize; + char *bufend = (char *)buf + fs_filesize; num = LittleLong(*((int *)buf)); // call the apropriate loader loadmodel = mod; -- 2.39.2