Fix 32bit compilation
authorRobin Gareus <robin@gareus.org>
Sat, 18 Feb 2017 15:22:34 +0000 (16:22 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 18 Feb 2017 15:22:34 +0000 (16:22 +0100)
libs/ptformat/ptfformat.cc

index ec67fd37b358be439d48d1ec62dd047a52fc2bde..8a2f0f2c233568952644d98cae4744682c28a80a 100644 (file)
@@ -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