made darkplaces compile successfully with g++ to test for errors C doesn't care about...
[xonotic/darkplaces.git] / r_explosion.c
index 430e399..4ce210d 100644 (file)
@@ -186,7 +186,7 @@ static void R_DrawExplosionCallback(const void *calldata1, int calldata2)
        float alpha;
        rmeshstate_t m;
        const explosion_t *e;
-       e = calldata1;
+       e = (explosion_t *)calldata1;
 
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);