summaryrefslogtreecommitdiff
path: root/src/ai/default
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-16 00:10:03 +0000
committerglx <glx@openttd.org>2008-02-16 00:10:03 +0000
commitd7924424acb756dfe34f0302a5dd39de0230dd7c (patch)
treef83c2c28c5c30ee5dbd7546cd241363a454ad7bf /src/ai/default
parenta1489850876a28c273e1e633515c11062c832df2 (diff)
downloadopenttd-d7924424acb756dfe34f0302a5dd39de0230dd7c.tar.xz
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
Diffstat (limited to 'src/ai/default')
-rw-r--r--src/ai/default/default.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp
index 949f29702..0c81cee23 100644
--- a/src/ai/default/default.cpp
+++ b/src/ai/default/default.cpp
@@ -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);