Author: tkreuzer
Date: Tue Feb 3 17:53:04 2009
New Revision: 39360
URL:
http://svn.reactos.org/svn/reactos?rev=39360&view=rev
Log:
update tracert from trunk
Modified:
branches/ros-amd64-bringup/reactos/base/applications/network/tracert/tracert.c
Modified: branches/ros-amd64-bringup/reactos/base/applications/network/tracert/tracert.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/applications/network/tracert/tracert.c
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/base/applications/network/tracert/tracert.c
[iso-8859-1] Tue Feb 3 17:53:04 2009
@@ -396,11 +396,7 @@
DebugPrint(_T("Rouge packet: header id, process id %d"),
TTLExceedHdr->OrigIcmpHeader.id, GetCurrentProcessId());
return -1;
}
-#ifndef _WIN64
- _tprintf(_T("%3lld ms"), (pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
-#else
- _tprintf(_T("%3I64d ms"), (pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
-#endif
+ _tprintf(_T("%3ld ms"), (ULONG)((pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart));
return 0;
case ECHO_REPLY :
@@ -411,11 +407,7 @@
DebugPrint(_T("Rouge packet: header id %d, process id
%d"), IcmpHdr->icmpheader.id, GetCurrentProcessId());
return -1;
}
-#ifndef _WIN64
- _tprintf(_T("%3lld ms"), (pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
-#else
- _tprintf(_T("%3I64d ms"), (pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart);
-#endif
+ _tprintf(_T("%3ld ms"), (ULONG)((pInfo->lTimeEnd -
pInfo->lTimeStart) / pInfo->TicksPerMs.QuadPart));
return 1;
case DEST_UNREACHABLE :