diff options
Diffstat (limited to 'src/mesa/tnl/t_vb_light.c')
-rw-r--r-- | src/mesa/tnl/t_vb_light.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/tnl/t_vb_light.c b/src/mesa/tnl/t_vb_light.c index ccbcba1f2a1..3252df9b30f 100644 --- a/src/mesa/tnl/t_vb_light.c +++ b/src/mesa/tnl/t_vb_light.c @@ -323,13 +323,13 @@ static void dtr( struct gl_pipeline_stage *stage ) struct light_stage_data *store = LIGHT_STAGE_DATA(stage); if (store) { - ALIGN_FREE( store->LitColor[0].Ptr ); - ALIGN_FREE( store->LitColor[1].Ptr ); - ALIGN_FREE( store->LitSecondary[0].Ptr ); - ALIGN_FREE( store->LitSecondary[1].Ptr ); + ALIGN_FREE( (void *) store->LitColor[0].Ptr ); + ALIGN_FREE( (void *) store->LitColor[1].Ptr ); + ALIGN_FREE( (void *) store->LitSecondary[0].Ptr ); + ALIGN_FREE( (void *) store->LitSecondary[1].Ptr ); if (store->FloatColor.Ptr) - ALIGN_FREE( store->FloatColor.Ptr ); + ALIGN_FREE( (void *) store->FloatColor.Ptr ); _mesa_vector1ui_free( &store->LitIndex[0] ); _mesa_vector1ui_free( &store->LitIndex[1] ); |