From d8045c67273faedd806c0e0f11801df2bb9ce4c6 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Thu, 7 Jan 2016 14:52:11 +0200 Subject: JANITORIAL: Fix clang printf warnings --- audio/midiparser_smf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') 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; } -- cgit v1.2.3