aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-05-14 03:44:25 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-05-14 03:44:25 +0300
commit25ce6c5132d52def02653b08de65447b38d26419 (patch)
tree8f6019a9dd8bdeac61970335c39c7d6f63ca7160 /src/adlmidi.cpp
parent517063eb749383871fa2635cec29ce84770ae83c (diff)
downloadlibADLMIDI-25ce6c5132d52def02653b08de65447b38d26419.tar.gz
libADLMIDI-25ce6c5132d52def02653b08de65447b38d26419.tar.bz2
libADLMIDI-25ce6c5132d52def02653b08de65447b38d26419.zip
Attempt to fix the build on MinGW without C++11
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r--src/adlmidi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index bf03285..8648308 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -120,7 +120,7 @@ ADLMIDI_EXPORT int adl_setBank(ADL_MIDIPlayer *device, int bank)
if(static_cast<uint32_t>(bankno) >= NumBanks)
{
char errBuf[150];
- snprintf(errBuf, 150, "Embedded bank number may only be 0..%" PRIu32 "!\n", (NumBanks - 1));
+ snprintf(errBuf, 150, "Embedded bank number may only be 0..%u!\n", static_cast<unsigned int>(NumBanks - 1));
play->setErrorString(errBuf);
return -1;
}