summaryrefslogtreecommitdiff
path: root/src/gui/popup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:17:27 +0100
committerIra Rice <irarice@gmail.com>2009-03-26 17:52:00 -0600
commit2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72 (patch)
tree02cfa2ce2e1976af94c07d7d984eb394ffa4f3c4 /src/gui/popup.cpp
parent22974109dd0e9ae2b915cc2c258df1f01a65b729 (diff)
downloadmana-2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72.tar.gz
mana-2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72.tar.bz2
mana-2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72.tar.xz
mana-2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72.zip
Compile warning fixes
Mostly unsigned/signed mismatches and an unused variable.
Diffstat (limited to 'src/gui/popup.cpp')
-rw-r--r--src/gui/popup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popup.cpp b/src/gui/popup.cpp
index 85ba3b7a..8dfc3c61 100644
--- a/src/gui/popup.cpp
+++ b/src/gui/popup.cpp
@@ -163,22 +163,22 @@ void Popup::setLocationRelativeTo(gcn::Widget *widget)
getY() + (wy + (widget->getHeight() - getHeight()) / 2 - y));
}
-void Popup::setMinWidth(unsigned int width)
+void Popup::setMinWidth(int width)
{
mMinWidth = width > mSkin->getMinWidth() ? width : mSkin->getMinWidth();
}
-void Popup::setMinHeight(unsigned int height)
+void Popup::setMinHeight(int height)
{
mMinHeight = height > mSkin->getMinHeight() ? height : mSkin->getMinHeight();
}
-void Popup::setMaxWidth(unsigned int width)
+void Popup::setMaxWidth(int width)
{
mMaxWidth = width;
}
-void Popup::setMaxHeight(unsigned int height)
+void Popup::setMaxHeight(int height)
{
mMaxHeight = height;
}