From dc66f4cb3ff00dadd2dab2928d4bfa3407d961be Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 12 Jan 2016 06:34:29 -0600 Subject: [PATCH] Make _WM_AdjustNoteVolume's pan_ofs a signed int --- src/wildmidi/wildmidi_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wildmidi/wildmidi_lib.cpp b/src/wildmidi/wildmidi_lib.cpp index 4464e7798..5f711bf35 100644 --- a/src/wildmidi/wildmidi_lib.cpp +++ b/src/wildmidi/wildmidi_lib.cpp @@ -1417,7 +1417,7 @@ get_sample_data(struct _patch *sample_patch, unsigned long int freq) { void _WM_AdjustNoteVolumes(struct _mdi *mdi, unsigned char ch, struct _note *nte) { double premix_dBm; double premix_lin; - unsigned char pan_ofs; + int pan_ofs; double premix_dBm_left; double premix_dBm_right; double premix_left;