projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed overflow issue. Code originally meant to truncate the 64 bit integer did not...
[ardour.git]
/
libs
/
ardour
/
ardour
/
cycles.h
diff --git
a/libs/ardour/ardour/cycles.h
b/libs/ardour/ardour/cycles.h
index 0d1ac154dde746a474cefd3c00e8b78c6ad232d5..a18ea23ba19e10f30e4b5e590cb1dea2ec941561 100644
(file)
--- a/
libs/ardour/ardour/cycles.h
+++ b/
libs/ardour/ardour/cycles.h
@@
-48,10
+48,10
@@
extern cycles_t cacheflush_time;
static inline cycles_t get_cycles (void)
{
-
uint32
_t long ret;
+
cycles
_t long ret;
rdtscll(ret);
- return ret;
+ return ret
& 0xffffffff
;
}
#elif defined(__powerpc__)