icmp-ping: explicitly specify type

This commit is contained in:
Nikos Mavrogiannopoulos
2015-03-12 09:12:47 +01:00
parent d9fb482361
commit d3c0d6a2c8
+1 -1
View File
@@ -137,7 +137,7 @@ static int in_cksum(unsigned short *buf, int sz)
return ans;
}
inline static int retry(e)
inline static int retry(int e)
{
if (e == EAGAIN || e == EWOULDBLOCK || e == EINTR)
return 1;