diff options
| author | Tony-LunarG <tony@lunarg.com> | 2021-01-22 15:35:02 -0700 |
|---|---|---|
| committer | Tony Barbour <tony@lunarg.com> | 2021-01-28 09:21:07 -0700 |
| commit | a03938051ff67dac3e13dd011238fccc529e1fa5 (patch) | |
| tree | 661e6c906fa2639a74a7a7531aff4a7882664817 | |
| parent | 7c25ce965b92d789bdc767422f2a4410c71653bb (diff) | |
| download | usermoji-a03938051ff67dac3e13dd011238fccc529e1fa5.tar.xz | |
vkcube: Fix compiler warning
Change-Id: Ib7f338d1aac2212d9b3278c2c58c9742d97aae79
| -rw-r--r-- | cube/gettime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cube/gettime.h b/cube/gettime.h index 57eba8e6..0139c7ae 100644 --- a/cube/gettime.h +++ b/cube/gettime.h @@ -37,9 +37,9 @@ #endif uint64_t getTimeInNanoseconds(void) { - const uint64_t ns_in_us = 1000; - const uint64_t ns_in_ms = 1000 * ns_in_us; - const uint64_t ns_in_s = 1000 * ns_in_ms; + const long long ns_in_us = 1000; + const long long ns_in_ms = 1000 * ns_in_us; + const long long ns_in_s = 1000 * ns_in_ms; #if defined(_WIN32) LARGE_INTEGER freq; LARGE_INTEGER count; |
