aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Kernel/OVR_Timer.h
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2014-07-24 16:47:31 -0700
committerBrad Davis <[email protected]>2014-07-24 16:47:31 -0700
commit0f49ce8fc6aa54224e4c0d6fda8c4527ad39cce1 (patch)
treeda07ebc6a7f75185bda857dd5f1c34710b416a93 /LibOVR/Src/Kernel/OVR_Timer.h
parentca79271759ff7eecd22ec5c4db438370fe51d687 (diff)
0.4 Win-Beta0.4.0
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)