(svn r12155) -Fix (r12154): some warnings (always compile before commit)

This commit is contained in:
glx
2008-02-16 00:10:03 +00:00
parent 3e70ee6ed7
commit 044ca2bbf6
3 changed files with 3 additions and 3 deletions

View File

@@ -3409,7 +3409,7 @@ static bool AiCheckAirportResources(TileIndex tile, const AiDefaultBlockData *p,
const AirportFTAClass* airport = GetAirport(p->attr);
uint w = airport->size_x;
uint h = airport->size_y;
uint rad = _patches.modified_catchment ? airport->catchment : CA_UNMODIFIED;
uint rad = _patches.modified_catchment ? airport->catchment : (uint)CA_UNMODIFIED;
if (cargo & 0x80) {
GetProductionAroundTiles(values, tile2, w, h, rad);