From 211454f6991429136f06deb832bf73b4aa9f67a3 Mon Sep 17 00:00:00 2001 From: stephena Date: Sun, 24 Jan 2016 22:09:35 +0000 Subject: [PATCH] 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 --- src/emucore/Paddles.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/Paddles.cxx b/src/emucore/Paddles.cxx index 2e4d4a7f6..4bd211e97 100644 --- a/src/emucore/Paddles.cxx +++ b/src/emucore/Paddles.cxx @@ -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)); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -