Skip to content

Commit

Permalink
powerpc compilation fix
Browse files Browse the repository at this point in the history
Fixes GH #113, reported by @kilobyte
  • Loading branch information
rurban committed Feb 1, 2022
1 parent bd42113 commit 17bf3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/perf_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static inline clock_t rdtsc() {
"cmpw %0, %2\n"
"bne- 0b"
: "=r" (tbu), "=r" (tbl), "=r" (tmp));
return (((uint64) tbu << 32) | tbl);
return (((uint64_t) tbu << 32) | tbl);
#elif defined(__sparc__)
uint64_t tick;
asm(".byte 0x83, 0x41, 0x00, 0x00");
Expand Down

0 comments on commit 17bf3dc

Please sign in to comment.