summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-09 19:06:35 +0000
committerrubidium <rubidium@openttd.org>2009-08-09 19:06:35 +0000
commit35d5a197d6f93e05eb358ed0a30db9ab2645911b (patch)
tree22e39a3193bdf0b35c6234c0747c30a3487e8bf1 /src/settings_gui.cpp
parented9c01e8b04305dc62f7173649f44bd27ac4b623 (diff)
downloadopenttd-35d5a197d6f93e05eb358ed0a30db9ab2645911b.tar.xz
(svn r17138) -Fix: some MSVC 64 bits compiler warnings
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 602ed2c0c..5578cc8cd 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -615,7 +615,7 @@ public:
if (x >= 10) {
/* Increase button clicked */
- val = min(val + sdb->interval, sdb->max);
+ val = min(val + sdb->interval, (int32)sdb->max);
this->clicked_increase = true;
} else {
/* Decrease button clicked */