From 29ca1f7a6714f19c34e6e0cd2a7f00a073c4d322 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 18 Feb 2017 16:22:34 +0100 Subject: Fix 32bit compilation --- libs/ptformat/ptfformat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') 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 -- cgit v1.2.3