aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-06-28 17:07:21 -0700
committerGravatar GitHub <noreply@github.com>2017-06-28 17:07:21 -0700
commitdef0cdf455338cac4e3da14dfa30ce0a4827a36c (patch)
tree30f541dfa26d22fc298cfe9ba683164da7a60928 /src
parent883655d6cf8f1a95c13de2704263e461dcdb36eb (diff)
parentb9078c8ee86664fd204b7b0f205e6bb0897a9e42 (diff)
Merge pull request #11638 from vjpai/uint64
Properly use uint64_t not unsigned int64_t
Diffstat (limited to 'src')
-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;
}