diff --git a/src/ui/user/iniuser.cpp b/src/ui/user/iniuser.cpp index 95c819e3..3e8e44db 100644 --- a/src/ui/user/iniuser.cpp +++ b/src/ui/user/iniuser.cpp @@ -23,7 +23,7 @@ const char *const list[] = { appGroupModifier, quit, }; -const int listCount = sizeof(list) / sizeof(list[0]); +const int listCount = int(std::size(list)); const char *const defaultValue(const char *key) {