diff options
author | Corbin Simpson <[email protected]> | 2009-10-18 15:54:39 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-10-18 16:09:01 -0700 |
commit | 16a06fea73b1e6e8857f7568762bfc56dcfe2940 (patch) | |
tree | 918e894fe9ef44be534a4e982c830bc4a0dba454 /src/gallium/drivers/r300/r300_state.c | |
parent | d2e29b502e5f777551ff057f08e54d82542863cf (diff) |
r300g: Fix up a bunch of warnings.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 8359850966b..0a982a9d5db 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -329,7 +329,7 @@ static void r300_delete_fs_state(struct pipe_context* pipe, void* shader) { struct r300_fragment_shader* fs = (struct r300_fragment_shader*)shader; rc_constants_destroy(&fs->code.constants); - FREE(fs->state.tokens); + FREE((void*)fs->state.tokens); FREE(shader); } @@ -697,7 +697,7 @@ static void r300_delete_vs_state(struct pipe_context* pipe, void* shader) rc_constants_destroy(&vs->code.constants); draw_delete_vertex_shader(r300->draw, vs->draw); - FREE(vs->state.tokens); + FREE((void*)vs->state.tokens); FREE(shader); } else { draw_delete_vertex_shader(r300->draw, |