]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
fix compile error where no extern was defined for ode_dll
[xonotic/darkplaces.git] / model_brush.c
index 7435c8b27a87678d5671e8aa833320dc82d9b4be..23fa6d48504e31372ab7e6d607d59acf91380ca6 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, (unsigned char *)bufferend - (unsigned char *)buffer);
 
        mod->type = mod_brushq1;