diff options
author | Zack Rusin <[email protected]> | 2007-09-17 09:50:08 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-09-18 06:31:22 -0400 |
commit | 56edb98d975041cca2e4a3712126b151d80a045a (patch) | |
tree | 5e565d17be0c84755e9e84af46b6e2a569ded48f /src | |
parent | f117327a3f246713abfd4dc4320d4a1a7f1b811a (diff) |
Fix the warning.
The const is there to enforce the immutable state of the object,
which is in reality owned by the pipe so just cast away the
constness.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_state_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_blend.c b/src/mesa/pipe/softpipe/sp_state_blend.c index 57f2df79238..34da613f9dd 100644 --- a/src/mesa/pipe/softpipe/sp_state_blend.c +++ b/src/mesa/pipe/softpipe/sp_state_blend.c @@ -53,7 +53,7 @@ void softpipe_bind_blend_state( struct pipe_context *pipe, void softpipe_delete_blend_state(struct pipe_context *pipe, const struct pipe_blend_state *blend ) { - free(blend); + free((struct pipe_blend_state *)blend); } |