summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-10 02:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-10 02:49:46 +0300
commit111670f3145dd2e388daf4867955309d056fee75 (patch)
tree325f46c0b6e32601d3484bc4a8215d76ce17f421 /src/gui
parent82aebd59872d5d59327c73fe4c52dbef312bbef9 (diff)
downloadmanaverse-111670f3145dd2e388daf4867955309d056fee75.tar.gz
manaverse-111670f3145dd2e388daf4867955309d056fee75.tar.bz2
manaverse-111670f3145dd2e388daf4867955309d056fee75.tar.xz
manaverse-111670f3145dd2e388daf4867955309d056fee75.zip
Fix cast issues.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/statdebugtab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/statdebugtab.cpp b/src/gui/widgets/tabs/statdebugtab.cpp
index a2aee6eb6..c24b6372a 100644
--- a/src/gui/widgets/tabs/statdebugtab.cpp
+++ b/src/gui/widgets/tabs/statdebugtab.cpp
@@ -66,8 +66,8 @@ StatDebugTab::StatDebugTab(const Widget2 *const widget) :
mWorseStatLabels[f - 1] = new Label(this,
// TRANSLATORS: debug window stat label
strprintf(_("%d ms"), 1000));
- place(0, f + 1, mStatLabels[f - 1], 3, 1);
- place(3, f + 1, mWorseStatLabels[f - 1], 1, 1);
+ place(0, CAST_S32(f + 1), mStatLabels[f - 1], 3, 1);
+ place(3, CAST_S32(f + 1), mWorseStatLabels[f - 1], 1, 1);
}
setDimension(Rect(0, 0, 200, 300));