diff options
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 9d9f9a213..6633fcb90 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -256,7 +256,7 @@ void WindowMenu::addButton(const char *const text, Button *const btn = new Button(this, gettext(text), text, this); btn->setPosition(x, mPadding); btn->setDescription(description); - btn->setTag(static_cast<int>(key)); + btn->setTag(CAST_S32(key)); add(btn); btn->setFocusable(false); x += btn->getWidth() + mSpacing; |