aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/algcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/algcheck.c')
-rw-r--r--FICS/algcheck.c2
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--) {