summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ee5c032..8bfcae8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1042,7 +1042,7 @@ static bool do_submit(struct tofi *tofi)
if (entry->mode == TOFI_MODE_PLAIN && tofi->print_index) {
for (size_t i = 0; i < entry->commands.count; i++) {
if (res == entry->commands.buf[i].string) {
- printf("%u\n", i + 1);
+ printf("%zu\n", i + 1);
break;
}
}