1diff --git a/gui/macro.c b/gui/macro.c
2index ae8db8b..226d48f 100644
3--- a/gui/macro.c
4+++ b/gui/macro.c
5@@ -86,7 +86,7 @@ void tilem_macro_add_action(TilemMacro* macro, int type, char * value) {
6 macro->actions = tilem_macro_actions_new(macro, n + 1);
7
8 /* Then we need to save the action */
9- macro->actions[n] = g_new(char, strlen(value)); /* FIXME : gcc says : "assignment from incompatible pointer type" ??? */
10+ macro->actions[n] = g_new(TilemMacroAtom, 1); /* FIXME : gcc says : "assignment from incompatible pointer type" ??? */
11 macro->actions[n]->value = g_strdup(value);
12 macro->actions[n]->type = type;
13 macro->n++;