// becuase runways were sorted by score when building, they were added
// by score also, so we can use a simple algorithim to assign
- for (int r=0; r < runways.size(); ++r) {
+ for (unsigned int r=0; r < runways.size(); ++r) {
if ((r % 2) == 0) {
arrivals.push_back(runways[r]);
} else {
{
ostringstream os;
os << runways.front()->ident();
- for (int r=1; r <runways.size(); ++r) {
+ for (unsigned int r=1; r <runways.size(); ++r) {
os << ", " << runways[r]->ident();
}
ostringstream os;
os << "\tArrival:" << _fallbackArrivalRunways.front()->ident();
- for (int r=1; r <_fallbackArrivalRunways.size(); ++r) {
+ for (unsigned int r=1; r <_fallbackArrivalRunways.size(); ++r) {
os << ", " << _fallbackArrivalRunways[r]->ident();
}
os << "\n\tDeparture:" << _fallbackDepartureRunways.front()->ident();
- for (int r=1; r <_fallbackDepartureRunways.size(); ++r) {
+ for (unsigned int r=1; r <_fallbackDepartureRunways.size(); ++r) {
os << ", " << _fallbackDepartureRunways[r]->ident();
}