diff --git a/src/cycleclock.h b/src/cycleclock.h index c657414e..bd62f5d7 100644 --- a/src/cycleclock.h +++ b/src/cycleclock.h @@ -210,7 +210,7 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() { #else uint64_t cycles; asm volatile("rdtime %0" : "=r"(cycles)); - return cycles; + return static_cast(cycles); #endif #elif defined(__e2k__) || defined(__elbrus__) struct timeval tv;