summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/itempopup.cpp2
-rw-r--r--src/gui/windows/logindialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index df245370c..36f971849 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -124,7 +124,7 @@ void ItemPopup::setItem(const Item *const item, const bool showImage)
}
else
{
- mItemName->setCaption(strprintf("%s (+%d), %d",
+ mItemName->setCaption(strprintf("%s (+%u), %d",
ii.getName().c_str(),
static_cast<unsigned int>(item->getRefine()),
ii.getId()));
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index af87605d3..510470ada 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -174,7 +174,7 @@ void LoginDialog::postInit()
{
setVisible(true);
- int h = 200;
+ const int h = 200;
if (mUpdateHostLabel)
setContentSize(310, 250);
setContentSize(310, h);