From: havoc Date: Mon, 20 Feb 2012 19:34:16 +0000 (+0000) Subject: fix compile error X-Git-Tag: xonotic-v0.8.0~96^2~308 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e5e211b7bbd7750e5b63e7034cbb0a7704decece;p=xonotic%2Fdarkplaces.git fix compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11713 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index 7435c8b2..def4b1a3 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, buffer, bufferend - buffer); + MSG_InitReadBuffer(&sb, (unsigned char *)buffer, bufferend - buffer); mod->type = mod_brushq1;