aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorOri Avtalion2016-01-07 14:52:11 +0200
committerOri Avtalion2016-01-07 14:55:32 +0200
commitd8045c67273faedd806c0e0f11801df2bb9ce4c6 (patch)
treeb3cb7dc4d71236d12fd26501d00aa4b02991c2e4 /audio
parentafd4b82a8ad760abee3224e618e951da72268d51 (diff)
downloadscummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.tar.gz
scummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.tar.bz2
scummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.zip
JANITORIAL: Fix clang printf warnings
Diffstat (limited to 'audio')
-rw-r--r--audio/midiparser_smf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/midiparser_smf.cpp b/audio/midiparser_smf.cpp
index a614e5bd63..d1d86b918f 100644
--- a/audio/midiparser_smf.cpp
+++ b/audio/midiparser_smf.cpp
@@ -204,7 +204,7 @@ bool MidiParser_SMF::loadMusic(byte *data, uint32 size) {
int tracksRead = 0;
while (tracksRead < _numTracks) {
if (memcmp(pos, "MTrk", 4) && !isGMF) {
- warning("Position: %p ('%c')", pos, *pos);
+ warning("Position: %p ('%c')", (void *)pos, *pos);
warning("Hit invalid block '%c%c%c%c' while scanning for track locations", pos[0], pos[1], pos[2], pos[3]);
return false;
}