Fixed minor warning detected in Visual Studio.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3260 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2016-01-24 22:09:35 +00:00
parent dbd56ca03d
commit 211454f699
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ void Paddles::setMouseSensitivity(int sensitivity)
void Paddles::setPaddleRange(int range)
{
range = BSPF_clamp(range, 1, 100);
TRIGRANGE = TRIGMAX * (range / 100.0);
TRIGRANGE = int(TRIGMAX * (range / 100.0));
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -