]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix compile error
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Feb 2012 19:34:16 +0000 (19:34 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Feb 2012 19:34:16 +0000 (19:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11713 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index 7435c8b27a87678d5671e8aa833320dc82d9b4be..def4b1a3b2537daef17065a1b71292c4932963b4 100644 (file)
@@ -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;