summaryrefslogtreecommitdiff
path: root/src/gui/skin.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:17:27 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:30:38 +0100
commit511d9ac780e094767e806c9a448ac973279dd4c8 (patch)
treea9051719bfdbce7f41338ef03a6f95d442a770cf /src/gui/skin.cpp
parent2eee8b31f6959902db031e61df6c79249f56c23c (diff)
downloadmana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.gz
mana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.bz2
mana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.xz
mana-511d9ac780e094767e806c9a448ac973279dd4c8.zip
Compile warning fixes
Mostly unsigned/signed mismatches and an unused variable.
Diffstat (limited to 'src/gui/skin.cpp')
-rw-r--r--src/gui/skin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skin.cpp b/src/gui/skin.cpp
index 27a0fa3d..f7cc8ba1 100644
--- a/src/gui/skin.cpp
+++ b/src/gui/skin.cpp
@@ -51,13 +51,13 @@ Skin::~Skin()
closeImage->decRef();
}
-unsigned int Skin::getMinWidth()
+int Skin::getMinWidth() const
{
return (border.grid[0]->getWidth() + border.grid[1]->getWidth()) +
border.grid[2]->getWidth();
}
-unsigned int Skin::getMinHeight()
+int Skin::getMinHeight() const
{
return (border.grid[0]->getHeight() + border.grid[3]->getHeight()) +
border.grid[6]->getHeight();