util/nvmutil: use size_t on op for loop

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-03 14:43:16 +00:00
parent 4edcc26849
commit 198843c2e3
+1 -2
View File
@@ -117,8 +117,7 @@ set_cmd(int argc, char *argv[])
if (argc < 2) {
usage(argv[0]);
} else if (argc > 2) {
for (long unsigned int i = 0;
(i < items(op)) && (cmd == NULL); i++) {
for (size_t i = 0; (i < items(op)) && (cmd == NULL); i++) {
if (strcmp(COMMAND, op[i].str) != 0)
continue;
if (argc >= op[i].args) {