diff options
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 2 |
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 */ |