mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 00:43:21 +00:00
tacert: use ULONG format instead of long long when displaying the time in ms.
svn path=/trunk/; revision=39359
This commit is contained in:
parent
cdbc9c6439
commit
3b0ffb9af3
|
@ -396,7 +396,7 @@ DecodeResponse(PAPPINFO pInfo)
|
||||||
DebugPrint(_T("Rouge packet: header id, process id %d"), TTLExceedHdr->OrigIcmpHeader.id, GetCurrentProcessId());
|
DebugPrint(_T("Rouge packet: header id, process id %d"), TTLExceedHdr->OrigIcmpHeader.id, GetCurrentProcessId());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
_tprintf(_T("%3Ld ms"), (pInfo->lTimeEnd - pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
|
_tprintf(_T("%3ld ms"), (ULONG)((pInfo->lTimeEnd - pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case ECHO_REPLY :
|
case ECHO_REPLY :
|
||||||
|
@ -407,7 +407,7 @@ DecodeResponse(PAPPINFO pInfo)
|
||||||
DebugPrint(_T("Rouge packet: header id %d, process id %d"), IcmpHdr->icmpheader.id, GetCurrentProcessId());
|
DebugPrint(_T("Rouge packet: header id %d, process id %d"), IcmpHdr->icmpheader.id, GetCurrentProcessId());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
_tprintf(_T("%3Ld ms"), (pInfo->lTimeEnd - pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
|
_tprintf(_T("%3ld ms"), (ULONG)((pInfo->lTimeEnd - pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart));
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case DEST_UNREACHABLE :
|
case DEST_UNREACHABLE :
|
||||||
|
|
Loading…
Reference in a new issue