From b07ef35f448f3e948c7fe4b52be1399586aa0153 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 21 Jun 2009 20:59:30 +0000 Subject: (svn r16618) -Fix (r16614): Silence a warning. --- src/ai/api/ai_airport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api') 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) -- cgit v1.2.3-70-g09d2