From da574839613ef8034d30dfb481bd23bb07c70ddb Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Fri, 16 Sep 2022 18:45:02 -0400 Subject: [PATCH] action: Fix warning about freeing a (const char *) --- include/private/action.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };