From be1ef0341231fda6182ce4cd9398f0145c995097 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Sat, 12 Aug 2023 20:10:44 +0100 Subject: [PATCH] find-idents.c: fix typo ...which so far has caused any bugs! --- scripts/helper/find-idents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper/find-idents.c b/scripts/helper/find-idents.c index b581f2dd..32b8a3c9 100644 --- a/scripts/helper/find-idents.c +++ b/scripts/helper/find-idents.c @@ -274,7 +274,7 @@ get_special_token(struct token *token) /* Compare with longest special tokens first */ int k; for (k = strlen(buf); k > 0; k--) { - for (int j = 0; sizeof(specials) / sizeof(specials[0]); j++) { + for (size_t j = 0; j < sizeof(specials) / sizeof(specials[0]); j++) { if (strlen(specials[j].combo) < k) { break; }