--- np2/sound/vermouth/midiout.c 2003/11/28 08:01:33 1.3 +++ np2/sound/vermouth/midiout.c 2003/11/30 12:32:04 1.4 @@ -888,7 +888,7 @@ void midiout_setgain(MIDIHDL hdl, int ga else if (gain > 8) { gain = 8; } - hdl->gain = (char)gain; + hdl->gain = (SINT8)gain; allvolupdate(hdl); } }