Mercurial > hg > openttd
changeset 6042:f251bed7063f draft
(svn r8768) -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned'
author | KUDr <KUDr@openttd.org> |
---|---|
date | Sat, 17 Feb 2007 10:21:48 +0000 |
parents | 1342ec694693 |
children | 6845063aa422 |
files | src/airport_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -174,7 +174,7 @@ airport = GetAirport(_selected_airport_type); SetTileSelectSize(airport->size_x, airport->size_y); - uint rad = _patches.modified_catchment ? airport->catchment : 4; + int rad = _patches.modified_catchment ? airport->catchment : 4; if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);