From f5c26251c792e6745e39dfc2029a957e7f2c71ff Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 10 May 2017 18:32:02 +0000 Subject: [PATCH] Silence a warning Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4015 --- src/gui/midi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/midi.cpp b/src/gui/midi.cpp index 57181e00..d7a0c472 100644 --- a/src/gui/midi.cpp +++ b/src/gui/midi.cpp @@ -130,7 +130,7 @@ void MIDI_RawOutByte(Bit8u data) { } } - LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); + LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d", static_cast(midi.sysex.used)); if (CaptureState & CAPTURE_MIDI) { CAPTURE_AddMidi( true, midi.sysex.used-1, &midi.sysex.buf[1]); }