From adb9a33dfaac81c66018d05b9024f174c5009ea5 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 20 Feb 2012 19:36:01 +0000 Subject: [PATCH] fix the compiler error fo' reals this time git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11715 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index def4b1a3..23fa6d48 100644 --- a/model_brush.c +++ b/model_brush.c @@ -3718,7 +3718,7 @@ void Mod_Q1BSP_Load(dp_model_t *mod, void *buffer, void *bufferend) unsigned char *datapointer; sizebuf_t sb; - MSG_InitReadBuffer(&sb, (unsigned char *)buffer, bufferend - buffer); + MSG_InitReadBuffer(&sb, (unsigned char *)buffer, (unsigned char *)bufferend - (unsigned char *)buffer); mod->type = mod_brushq1; -- 2.39.2