Mercurial > audlegacy
diff Plugins/Input/console/Gbs_Emu.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/Gbs_Emu.cpp Sun Dec 04 07:37:06 2005 -0800 +++ b/Plugins/Input/console/Gbs_Emu.cpp Sun Dec 04 08:49:53 2005 -0800 @@ -299,7 +299,7 @@ { require( rom ); // file must be loaded - gb_time_t duration = clock_rate * (1.0 / 1000.0) * msec; + gb_time_t duration = (gb_time_t) (clock_rate * (1.0 / 1000.0) * msec); cpu_time = 0; while ( cpu_time < duration ) {