diff options
Diffstat (limited to 'src/i_video.c')
-rw-r--r-- | src/i_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_video.c b/src/i_video.c index 8251234e..66b9ccaf 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -414,7 +414,7 @@ static int AccelerateMouse(int val) if (val > mouse_threshold) { - return (val - mouse_threshold) * mouse_acceleration + mouse_threshold; + return (int)((val - mouse_threshold) * mouse_acceleration + mouse_threshold); } else { |