summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2017-08-05 21:46:30 +1000
committerDamien Zammit <damien@zamaudio.com>2017-08-05 21:46:30 +1000
commitd5bba595be2c860f91349f925ca329f2b51c29c0 (patch)
treec56a473bf91531b9aff99eb2d73419bd2c1092a5
parent7cea60a0bbc7f3b7c95950fadf33cd068dba14eb (diff)
Fix long long constants
Signed-off-by: Damien Zammit <damien@zamaudio.com>
-rw-r--r--ptfformat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptfformat.cc b/ptfformat.cc
index c7de1de..3004ef2 100644
--- a/ptfformat.cc
+++ b/ptfformat.cc
@@ -769,7 +769,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 & 0xff00000000LL) || (m.length & 0xff00000000LL)) {
continue;
}
#endif