aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-06-28 12:37:23 -0700
committerGravatar Vijay Pai <vpai@google.com>2017-06-28 12:37:23 -0700
commitb9078c8ee86664fd204b7b0f205e6bb0897a9e42 (patch)
tree30f541dfa26d22fc298cfe9ba683164da7a60928
parent883655d6cf8f1a95c13de2704263e461dcdb36eb (diff)
Properly use uint64_t not unsigned int64_t
-rw-r--r--src/core/lib/support/time_precise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/support/time_precise.c b/src/core/lib/support/time_precise.c
index 22971ef6c3..6ce19e53cc 100644
--- a/src/core/lib/support/time_precise.c
+++ b/src/core/lib/support/time_precise.c
@@ -31,7 +31,7 @@ static void gpr_get_cycle_counter(int64_t int *clk) {
// ----------------------------------------------------------------
#elif defined(__x86_64__) || defined(__amd64__)
static void gpr_get_cycle_counter(int64_t *clk) {
- unsigned int64_t low, high;
+ uint64_t low, high;
__asm__ volatile("rdtsc" : "=a"(low), "=d"(high));
*clk = (int64_t)(high << 32) | (int64_t)low;
}