Fix printf() format args warning.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 13 Mar 2016 21:16:03 +0000 (23:16 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 13 Mar 2016 21:16:03 +0000 (23:16 +0200)
src/lxhotkey.c

index 6bccd52..f3416a6 100644 (file)
@@ -421,7 +421,7 @@ static void print_suboptions(GList *sub, int indent)
         LXHotkeyAttr *action = sub->data;
         if (action->values && action->values->data)
             printf("%*s%s=%s\n", indent, "", action->name,
-                                  action->values->data);
+                                 (char *)action->values->data);
         else
             printf("%*s%s\n", indent, "", action->name);
         print_suboptions(action->subopts, indent);