summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup/ss_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.c')
-rw-r--r--src/mesa/swrast_setup/ss_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c
index c000e41943..eb133f969c 100644
--- a/src/mesa/swrast_setup/ss_context.c
+++ b/src/mesa/swrast_setup/ss_context.c
@@ -83,10 +83,10 @@ _swsetup_DestroyContext( GLcontext *ctx )
ALIGN_FREE(swsetup->verts);
if (swsetup->ChanSecondaryColor.Ptr)
- ALIGN_FREE(swsetup->ChanSecondaryColor.Ptr);
+ ALIGN_FREE((void *) swsetup->ChanSecondaryColor.Ptr);
if (swsetup->ChanColor.Ptr)
- ALIGN_FREE(swsetup->ChanColor.Ptr);
+ ALIGN_FREE((void *) swsetup->ChanColor.Ptr);
FREE(swsetup);
ctx->swsetup_context = 0;