diff options
author | alberth <alberth@openttd.org> | 2010-03-06 11:08:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-03-06 11:08:39 +0000 |
commit | c7a5695d9db5f439321d5f953a853313d2d3d0ed (patch) | |
tree | e29f2d407cf4f09102ee8e4677492f1111a5dc01 /src/airport_gui.cpp | |
parent | 77fe7e0a74c597794d90e7776aa100a82fe2a60a (diff) | |
download | openttd-c7a5695d9db5f439321d5f953a853313d2d3d0ed.tar.xz |
(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 1553bef81..c6c076b75 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -261,7 +261,7 @@ public: if (!as->IsAvailable()) { GfxFillRect(r.left + 1, y + 1, r.right - 1, y + this->line_height - 2, 0, FILLRECT_CHECKER); } - DrawString(r.left + WD_MATRIX_LEFT, r.right + WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, as->name, (i == _selected_airport_index) ? TC_WHITE : TC_BLACK); + DrawString(r.left + WD_MATRIX_LEFT, r.right + WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, as->name, ((int)i == _selected_airport_index) ? TC_WHITE : TC_BLACK); y += this->line_height; } } |