diff Plugins/Input/console/Spc_Dsp.h @ 256:84aabc053b6e trunk

[svn] C++ warning fixes by external contractor Stephen Bennett.
author chainsaw
date Sun, 04 Dec 2005 08:49:53 -0800
parents 252843aac42f
children 7c5e886205ef
line wrap: on
line diff
--- a/Plugins/Input/console/Spc_Dsp.h	Sun Dec 04 07:37:06 2005 -0800
+++ b/Plugins/Input/console/Spc_Dsp.h	Sun Dec 04 08:49:53 2005 -0800
@@ -152,7 +152,7 @@
 }
 
 inline void Spc_Dsp::set_gain( double v ) {
-	emu_gain = v * (1 << emu_gain_bits);
+	emu_gain = (int) (v * (1 << emu_gain_bits));
 }
 
 #endif