From: John Lindgren Date: Fri, 16 Sep 2022 22:45:02 +0000 (-0400) Subject: action: Fix warning about freeing a (const char *) X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=da574839613ef8034d30dfb481bd23bb07c70ddb;p=proto%2Flabwc.git action: Fix warning about freeing a (const char *) --- diff --git a/include/private/action.h b/include/private/action.h index 0b8f60d0..1bb89acd 100644 --- a/include/private/action.h +++ b/include/private/action.h @@ -12,7 +12,7 @@ enum action_arg_type { struct action_arg { struct wl_list link; /* struct action.args */ - const char *key; /* May be NULL if there is just one arg */ + char *key; /* May be NULL if there is just one arg */ enum action_arg_type type; };