diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-12 07:32:11 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-12 07:32:11 +0300 |
commit | b043032a89f38e2b3191a65dab9ae4e8202d48f3 (patch) | |
tree | fa43cf8e88087b84aff825e8eaac40ff4587f2c3 /src/adlmidi.cpp | |
parent | cc2d7237cce71482c04895e5550609534e41413b (diff) | |
download | libADLMIDI-b043032a89f38e2b3191a65dab9ae4e8202d48f3.tar.gz libADLMIDI-b043032a89f38e2b3191a65dab9ae4e8202d48f3.tar.bz2 libADLMIDI-b043032a89f38e2b3191a65dab9ae4e8202d48f3.zip |
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
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |