]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/channel.c
Fix "implicit conversion shortens 64-bit value" warning
[ngircd.git] / src / ngircd / channel.c
index 6f8507244501853c7b72b767864e5b250bd3fcf3..6e9e0f478c235040d502b38363115bb677acff5f 100644 (file)
@@ -1085,7 +1085,7 @@ Channel_CheckKey(CHANNEL *Chan, CLIENT *Client, const char *Key)
                return false;
        }
 
-       while (fgets(line, sizeof(line), fd) != NULL) {
+       while (fgets(line, (int)sizeof(line), fd) != NULL) {
                ngt_TrimStr(line);
                if (! (nick = strchr(line, ':')))
                        continue;