1
0
Fork 0

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

release/1.0
frosch 2009-06-21 20:59:30 +00:00
parent acff607624
commit b07ef35f44
1 changed files with 1 additions and 1 deletions

View File

@ -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)