From: havoc Date: Mon, 16 Feb 2009 19:40:24 +0000 (+0000) Subject: fix a compile error when using C++ mode X-Git-Tag: xonotic-v0.1.0preview~1879 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0129b5e99b7fefcb1fc0ec8ad0b42e603b87e3b1;p=xonotic%2Fdarkplaces.git fix a compile error when using C++ mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8715 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index 08c71f39..b8e2e51f 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -3630,7 +3630,7 @@ void R_DrawCoronas(void) // now draw the coronas using the query data for intensity info for (lightindex = 0;lightindex < range;lightindex++) { - light = Mem_ExpandableArray_RecordAtIndex(&r_shadow_worldlightsarray, lightindex); + light = (dlight_t *) Mem_ExpandableArray_RecordAtIndex(&r_shadow_worldlightsarray, lightindex); if (!light) continue; rtlight = &light->rtlight;