From c85f0bfa859f19e6fe2d263cedc041fce81da2a8 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 16 Jul 2023 12:15:32 +0100 Subject: Fix typo. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3