summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabstrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r--src/gui/widgets/tabstrip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp
index 035acbb70..26a4feac0 100644
--- a/src/gui/widgets/tabstrip.cpp
+++ b/src/gui/widgets/tabstrip.cpp
@@ -52,7 +52,7 @@ Widget *TabStrip::createWidget(const std::string &text,
widget->adjustSize();
if ((!mCount && mPressFirst) || pressed)
widget->setPressed(true);
- widget->setTag(static_cast<int>(mWidgets.size()));
+ widget->setTag(CAST_S32(mWidgets.size()));
return widget;
}