summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-18 16:22:34 +0100
committerRobin Gareus <robin@gareus.org>2017-02-18 16:22:34 +0100
commit29ca1f7a6714f19c34e6e0cd2a7f00a073c4d322 (patch)
tree0499807ae85857cec105c3e10654110159ca68be /libs
parent92e203a19e55c445a7051c7148a659c3507c2770 (diff)
Fix 32bit compilation
Diffstat (limited to 'libs')
-rw-r--r--libs/ptformat/ptfformat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ptformat/ptfformat.cc b/libs/ptformat/ptfformat.cc
index ec67fd37b3..8a2f0f2c23 100644
--- 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 & 0xff00000000LL) || (m.length & 0xff00000000LL)) {
continue;
}
#endif