diff options
author | KUDr <kudr@openttd.org> | 2007-02-17 10:21:48 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-02-17 10:21:48 +0000 |
commit | fe1d448cf82e08e750ef7c534835aaac93fcb4dd (patch) | |
tree | 245f8d5e4121156b587067c9ea2631a48197c84e /src | |
parent | 8aacd2585d0992dc3a87da8042369bb1830d8cd5 (diff) | |
download | openttd-fe1d448cf82e08e750ef7c534835aaac93fcb4dd.tar.xz |
(svn r8768) -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned'
Diffstat (limited to 'src')
-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 9a4b34304..0317af93f 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -174,7 +174,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) 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); |