Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cycleclock: Fix type conversion to match function return type on riscv64
Fixes builds with clang src/cycleclock.h:213:10: error: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Werror,-Wsign-conversion] 213 | return cycles; | ~~~~~~ ^~~~~~ 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information