From 7f666e807114cbefd6e8a5e5b4918cc9f15f0402 Mon Sep 17 00:00:00 2001 From: SeleDreams Date: Tue, 7 Dec 2021 05:24:09 +0100 Subject: [PATCH] Fixed issue of build when fpermissive isn't enabled due to an issue of higher pointer size --- plugins/MidiImport/portsmf/allegro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MidiImport/portsmf/allegro.h b/plugins/MidiImport/portsmf/allegro.h index 22e4533a2..698801f78 100644 --- a/plugins/MidiImport/portsmf/allegro.h +++ b/plugins/MidiImport/portsmf/allegro.h @@ -610,7 +610,7 @@ typedef class Serial_write_buffer: public Serial_buffer { #if defined(_WIN32) //#pragma warning(disable: 4311 4312) #endif - assert((char *)(((long) (ptr + 7)) & ~7) <= fence); + assert((char *)(((long long) (ptr + 7)) & ~7) <= fence); #if defined(_WIN32) //#pragma warning(default: 4311 4312) #endif