mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
ping: silence warnings on x64
svn path=/trunk/; revision=39357
This commit is contained in:
parent
1a95247634
commit
cdbc9c6439
|
@ -221,7 +221,7 @@ static BOOL ParseCmdline(int argc, char* argv[])
|
|||
if (DataSize > ICMP_MAXSIZE - sizeof(ICMP_ECHO_PACKET))
|
||||
{
|
||||
printf("Bad value for option -l, valid range is from 0 to %d.\n",
|
||||
ICMP_MAXSIZE - sizeof(ICMP_ECHO_PACKET));
|
||||
ICMP_MAXSIZE - (int)sizeof(ICMP_ECHO_PACKET));
|
||||
return FALSE;
|
||||
}
|
||||
break;
|
||||
|
@ -454,7 +454,7 @@ static BOOL DecodeResponse(PCHAR buffer, UINT size, PSOCKADDR_IN from)
|
|||
|
||||
|
||||
printf("Reply from %s: bytes=%d time%s%s TTL=%d\n", inet_ntoa(from->sin_addr),
|
||||
size - IphLength - sizeof(ICMP_ECHO_PACKET), Sign, Time, IpHeader->TTL);
|
||||
size - IphLength - (int)sizeof(ICMP_ECHO_PACKET), Sign, Time, IpHeader->TTL);
|
||||
if (RelativeTime.QuadPart < MinRTT.QuadPart || !MinRTTSet)
|
||||
{
|
||||
MinRTT.QuadPart = RelativeTime.QuadPart;
|
||||
|
|
Loading…
Reference in a new issue