diff options
author | Erik Faye-Lund <[email protected]> | 2019-08-05 17:29:05 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-08-08 18:20:29 +0200 |
commit | e0a740c633da5d8f2b6040f7ef4929c95539aed8 (patch) | |
tree | 650e511691c10ffc95b756532bbaded0c54310fb /src/mesa/main/marshal.c | |
parent | 75097114d9db63f7930de11b2e2f54142e58913f (diff) |
mesa/main: cast away constness
This avoids a warning about implicitly casting away the constness of the
pointer.
Signed-off-by: Erik Faye-Lund <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main/marshal.c')
-rw-r--r-- | src/mesa/main/marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c index 1827585ef0a..43deafb2c80 100644 --- a/src/mesa/main/marshal.c +++ b/src/mesa/main/marshal.c @@ -130,7 +130,7 @@ _mesa_unmarshal_ShaderSource(struct gl_context *ctx, } CALL_ShaderSource(ctx->CurrentServerDispatch, (cmd->shader, cmd->count, string, cmd_length)); - free(string); + free((void *)string); } |