]> git.mdlowis.com Git - proto/labwc.git/commitdiff
menu: remove redundant cast
authorJohn Lindgren <john@jlindgren.net>
Sun, 12 Oct 2025 01:47:40 +0000 (21:47 -0400)
committerJohn Lindgren <john@jlindgren.net>
Sun, 12 Oct 2025 18:15:19 +0000 (14:15 -0400)
src/menu/menu.c

index faf0c8da2ef5c71a064887108fcaf3b2491a3482..89f061c14c3ee06f30857f954df13341042056a8 100644 (file)
@@ -482,7 +482,7 @@ fill_item(struct menu *menu, xmlNode *node)
                goto out;
        }
 
-       struct menuitem *item = item_create(menu, (char *)label, icon_name, false);
+       struct menuitem *item = item_create(menu, label, icon_name, false);
        lab_xml_expand_dotted_attributes(node);
        append_parsed_actions(node, &item->actions);