projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e203a
)
Fix 32bit compilation
author
Robin Gareus
<robin@gareus.org>
Sat, 18 Feb 2017 15:22:34 +0000
(16:22 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 18 Feb 2017 15:22:34 +0000
(16:22 +0100)
libs/ptformat/ptfformat.cc
patch
|
blob
|
history
diff --git
a/libs/ptformat/ptfformat.cc
b/libs/ptformat/ptfformat.cc
index ec67fd37b358be439d48d1ec62dd047a52fc2bde..8a2f0f2c233568952644d98cae4744682c28a80a 100644
(file)
--- a/
libs/ptformat/ptfformat.cc
+++ b/
libs/ptformat/ptfformat.cc
@@
-770,7
+770,7
@@
PTFFormat::parsemidi(void) {
// stop gap measure to prevent crashes in ardour,
// remove when decryption is fully solved for .ptx
if ((m.velocity & 0x80) || (m.note & 0x80) ||
- (m.pos & 0xff00000000
) || (m.length & 0xff00000000
)) {
+ (m.pos & 0xff00000000
LL) || (m.length & 0xff00000000LL
)) {
continue;
}
#endif