diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-12-02 21:12:15 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-12-02 21:12:15 +0100 |
commit | 7a173ca85d1db32bc47579af95a09c959520d314 (patch) | |
tree | 387745cf7efe90c00cb87d55e9b8bc1b1002e3da | |
parent | 4e92de91453908667e9797eb9e84e6dbd4291e07 (diff) |
Changed an if statement
-rw-r--r-- | FICS/matchproc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/matchproc.c b/FICS/matchproc.c index 382096b..c66c688 100644 --- a/FICS/matchproc.c +++ b/FICS/matchproc.c @@ -1209,7 +1209,8 @@ com_accept(int p, param_list param) } } - if (acceptNum < 0 || acceptNum >= ARRAY_SIZE(parray[0].p_from_list)) { + if (acceptNum < 0 || + acceptNum >= (int)ARRAY_SIZE(parray[0].p_from_list)) { pprintf(p, "Accept number out-of-bounds!\n"); return COM_FAILED; } |