From b043032a89f38e2b3191a65dab9ae4e8202d48f3 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 12 Nov 2017 07:32:11 +0300 Subject: libADLMIDI now is buildable under OpenWatcom except of some workarounds - Need a different way to create a static library, otherwise it don't wanna be built. - Needed a different custom STL containers (std::vector and std::set) implementation that will work and will don't glitch with a crashes --- src/adlmidi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi.cpp') diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 50163ac..f620b5e 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -471,7 +471,7 @@ ADLMIDI_EXPORT const Adl_MarkerEntry adl_metaMarker(struct ADL_MIDIPlayer *devic MIDIplay::MIDI_MarkerEntry &mk = play->musMarkers[index]; marker.label = mk.label.c_str(); marker.pos_time = mk.pos_time; - marker.pos_ticks = mk.pos_ticks; + marker.pos_ticks = (unsigned long)mk.pos_ticks; } return marker; } -- cgit v1.2.3