diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 14:43:16 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 14:43:16 +0000 |
| commit | 198843c2e3ac7f99c42d30636accf1383d3eb014 (patch) | |
| tree | db272cc2cf905424bb65773046716cb34b732e20 /util/nvmutil | |
| parent | 4edcc26849181bef2b83f64676d164635528a167 (diff) | |
util/nvmutil: use size_t on op for loop
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 32be3102..ef729552 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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) { |
