(svn r16618) -Fix (r16614): Silence a warning.

pull/155/head
frosch 15 years ago
parent 7ced2b4795
commit 4ff924862d

@ -12,7 +12,7 @@
/* static */ bool AIAirport::IsValidAirportType(AirportType type) /* 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) /* static */ Money AIAirport::GetPrice(AirportType type)

Loading…
Cancel
Save