diff options
author | frosch <frosch@openttd.org> | 2009-06-21 20:59:30 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-06-21 20:59:30 +0000 |
commit | b07ef35f448f3e948c7fe4b52be1399586aa0153 (patch) | |
tree | 4cc29a31723a8f351dd0aeddb2aa310c8f59f4b8 /src/ai | |
parent | acff607624308b1b652e9c8a5aad09d3ef863322 (diff) | |
download | openttd-b07ef35f448f3e948c7fe4b52be1399586aa0153.tar.xz |
(svn r16618) -Fix (r16614): Silence a warning.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_airport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_airport.cpp b/src/ai/api/ai_airport.cpp index 469f90591..137de54c7 100644 --- a/src/ai/api/ai_airport.cpp +++ b/src/ai/api/ai_airport.cpp @@ -12,7 +12,7 @@ /* static */ bool AIAirport::IsValidAirportType(AirportType type) { - return type >= 0 && type < NUM_AIRPORTS && ::GetAirport(type)->IsAvailable(); + return type >= 0 && type < (AirportType)NUM_AIRPORTS && ::GetAirport(type)->IsAvailable(); } /* static */ Money AIAirport::GetPrice(AirportType type) |