From fd83e0e04fbd7e358fa2c4d9f36e319e73f9ef90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 26 Oct 2014 02:38:07 +0000 Subject: [PATCH] [NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them are *LONGLONG). svn path=/trunk/; revision=65005 --- reactos/subsystems/ntvdm/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/ntvdm/clock.c b/reactos/subsystems/ntvdm/clock.c index bd4ff2e55ca..45b440a51f0 100644 --- a/reactos/subsystems/ntvdm/clock.c +++ b/reactos/subsystems/ntvdm/clock.c @@ -149,7 +149,7 @@ VOID ClockUpdate(VOID) #ifdef IPS_DISPLAY if ((CurrentTickCount - LastCyclePrintout) >= 1000) { - DPRINT1("NTVDM: %lu Instructions Per Second; TimerTicks = %I64d\n", Cycles * 1000 / (CurrentTickCount - LastCyclePrintout), TimerTicks); + DPRINT1("NTVDM: %I64u Instructions Per Second; TimerTicks = %I64d\n", Cycles * 1000 / (CurrentTickCount - LastCyclePrintout), TimerTicks); LastCyclePrintout = CurrentTickCount; Cycles = 0; }