diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-23 12:30:04 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-23 12:30:04 +0000 |
commit | ba4a95460650b93deca7b7dcff6775f013b73119 (patch) | |
tree | b18923f39a5ca4acf35f5db74cf9d0600226b741 /src/gui/minimap.cpp | |
parent | 5b70e7729229317acfd1b8f79e8eb1b90870827b (diff) | |
download | mana-client-ba4a95460650b93deca7b7dcff6775f013b73119.tar.gz mana-client-ba4a95460650b93deca7b7dcff6775f013b73119.tar.bz2 mana-client-ba4a95460650b93deca7b7dcff6775f013b73119.tar.xz mana-client-ba4a95460650b93deca7b7dcff6775f013b73119.zip |
A few more compiler warnings fixed.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 1f3a903c..8640fdb0 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -108,11 +108,11 @@ void Minimap::draw(gcn::Graphics *graphics) continue; } - int offset = (dotSize - 1) * mProportion; + int offset = (dotSize - 1) * (int) mProportion; graphics->fillRectangle(gcn::Rectangle( - (being->mX * mProportion) + getPadding() - offset, - (being->mY * mProportion) + getTitleBarHeight() - offset, + (being->mX * (int) mProportion) + getPadding() - offset, + (being->mY * (int) mProportion) + getTitleBarHeight() - offset, dotSize, dotSize)); } } |