From ffbba1373b14e856c43470f4994ab9e514c29812 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 20 Feb 2012 19:34:16 +0000 Subject: [PATCH] fix compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11713 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=e5e211b7bbd7750e5b63e7034cbb0a7704decece --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2