remove warnings

This commit is contained in:
skywind3000 2019-06-19 20:40:25 +08:00
parent 726b0d0ce9
commit 19dbf3af05

2
ikcp.c
View File

@ -505,7 +505,7 @@ int ikcp_send(ikcpcb *kcp, const char *buffer, int len)
if (len <= (int)kcp->mss) count = 1;
else count = (len + kcp->mss - 1) / kcp->mss;
if (count >= IKCP_WND_RCV) return -2;
if (count >= (int)IKCP_WND_RCV) return -2;
if (count == 0) count = 1;