diff Plugins/Input/console/Fir_Resampler.cpp @ 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 0b9507985f0d
line wrap: on
line diff
--- a/Plugins/Input/console/Fir_Resampler.cpp	Sun Dec 04 07:37:06 2005 -0800
+++ b/Plugins/Input/console/Fir_Resampler.cpp	Sun Dec 04 08:49:53 2005 -0800
@@ -70,7 +70,7 @@
 			y *= sinc( a );
 		}
 		
-		*p++ = y * scale;
+		*p++ = (T) (y * scale);
 		a += step;
 	}
 }