diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-05-09 13:43:48 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-05-09 13:43:48 +0200 |
commit | c65fcb7ff6d73478b83816e8b8cd55a6e09d1a1b (patch) | |
tree | 86bdfee4adcfa1ddaeb6b1b8232ffa48fc6dc117 /FICS/algcheck.c | |
parent | 8dedd768c6c200923e9a3cf325e63182cd14cd7d (diff) |
Fixed sign compare
Diffstat (limited to 'FICS/algcheck.c')
-rw-r--r-- | FICS/algcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/algcheck.c b/FICS/algcheck.c index 1a118ec..da228e5 100644 --- a/FICS/algcheck.c +++ b/FICS/algcheck.c @@ -109,7 +109,7 @@ get_move_info(char *str, int *piece, int *ff, int *fr, int *tf, int *tr, for (i = 0; alg_list[i]; i++) { lpiece = lff = lfr = ltf = ltr = ALG_UNKNOWN; - if (strlen(alg_list[i]) != len) + if (strlen(alg_list[i]) != (size_t)len) continue; for (j = len - 1; j >= 0; j--) { |