summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-07-16 12:15:32 +0100
committerPhil Jones <philj56@gmail.com>2023-07-16 12:15:43 +0100
commitc85f0bfa859f19e6fe2d263cedc041fce81da2a8 (patch)
tree52329cc7e3fcb23a5fc8de1422d59c58694649c0 /src/main.c
parent548de1f8c63d4a088400e724a37d483656a2c645 (diff)
Fix typo.
Diffstat (limited to 'src/main.c')
-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;
}
}