mesa/main: cast away constness

This avoids a warning about implicitly casting away the constness of the
pointer.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
Erik Faye-Lund
2019-08-05 17:29:05 +02:00
parent 75097114d9
commit e0a740c633
+1 -1
View File
@@ -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);
}