shithub: choc

Download patch

ref: f09fa9d003e357a663c4d4584aec581f3bb265ea
parent: 200b601eb28ecdb9f268de7513497389023fa607
author: mfrancis95 <[email protected]>
date: Sun Dec 8 17:48:08 EST 2019

Fix fprintf warnings in i_oplmusic.c

--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -1211,7 +1211,7 @@
 
         default:
 #ifdef OPL_MIDI_DEBUG
-            fprintf(stderr, "Unknown MIDI controller type: %i\n", controller);
+            fprintf(stderr, "Unknown MIDI controller type: %u\n", controller);
 #endif
             break;
     }
@@ -1304,7 +1304,7 @@
 
         default:
 #ifdef OPL_MIDI_DEBUG
-            fprintf(stderr, "Unknown MIDI meta event type: %i\n",
+            fprintf(stderr, "Unknown MIDI meta event type: %u\n",
                             event->data.meta.type);
 #endif
             break;