summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-29 01:00:03 +0000
committerrubidium <rubidium@openttd.org>2009-11-29 01:00:03 +0000
commit736e0c18cc4ab82d3b0cc0675a82165b8fa60429 (patch)
treeac9da1009ca1751a5ab87fbe8106147bb6efad56 /src/smallmap_gui.cpp
parent5d38d06313b3c2bc440283cc15cb1e86aa48cbf4 (diff)
downloadopenttd-736e0c18cc4ab82d3b0cc0675a82165b8fa60429.tar.xz
(svn r18332) -Fix: the MSVC compile warnings
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 60c287296..d83031b2f 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -917,7 +917,7 @@ public:
if (tbl->col_break || i++ >= this->number_of_rows) {
/* Column break needed, continue at top, COLUMN_WIDTH pixels
* (one "row") to the right. */
- x += rtl ? -this->column_width : this->column_width;
+ x += rtl ? -(int)this->column_width : this->column_width;
y = y_org;
i = 0;
}