ui/common/menu.c

branch
newapi
changeset 254
13997c76859b
parent 236
ee794586f51b
--- a/ui/common/menu.c	Sun Feb 11 22:06:23 2024 +0100
+++ b/ui/common/menu.c	Sun Feb 11 22:17:00 2024 +0100
@@ -61,7 +61,7 @@
     return s ? strdup(s) : NULL;
 }
 
-static int* copy_groups(int* groups, size_t *ngroups) {
+static int* copy_groups(const int* groups, size_t *ngroups) {
     *ngroups = 0;
     if (!groups) {
         return NULL;

mercurial