aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Kernel/OVR_Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/Kernel/OVR_Timer.h')
-rw-r--r--LibOVR/Src/Kernel/OVR_Timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibOVR/Src/Kernel/OVR_Timer.h b/LibOVR/Src/Kernel/OVR_Timer.h
index 12cba3b..ca585b2 100644
--- a/LibOVR/Src/Kernel/OVR_Timer.h
+++ b/LibOVR/Src/Kernel/OVR_Timer.h
@@ -56,13 +56,13 @@ public:
static double OVR_STDCALL GetSeconds();
// Returns time in Nanoseconds, using highest possible system resolution.
- static UInt64 OVR_STDCALL GetTicksNanos();
+ static uint64_t OVR_STDCALL GetTicksNanos();
// Kept for compatibility.
// Returns ticks in milliseconds, as a 32-bit number. May wrap around every 49.2 days.
// Use either time difference of two values of GetTicks to avoid wrap-around.
- static UInt32 OVR_STDCALL GetTicksMs()
- { return UInt32(GetTicksNanos() / 1000000); }
+ static uint32_t OVR_STDCALL GetTicksMs()
+ { return uint32_t(GetTicksNanos() / 1000000); }
// for recorded data playback
static void SetFakeSeconds(double fakeSeconds)