Properly use uint64_t not unsigned int64_t

pull/11638/head
Vijay Pai 8 years ago
parent 883655d6cf
commit b9078c8ee8
  1. 2
      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;
}

Loading…
Cancel
Save