Suppress warnings
This commit is contained in:
parent
40586c77fd
commit
97c214e4fc
2 changed files with 3 additions and 3 deletions
|
@ -277,8 +277,8 @@ void FGAIAircraft::ProcessFlightPlan( double dt, time_t now ) {
|
|||
}
|
||||
|
||||
//TODO let the fp handle this (loading of next leg)
|
||||
fp->IncrementWaypoint((bool) trafficRef);
|
||||
if (!(fp->getNextWaypoint()) && trafficRef)
|
||||
fp->IncrementWaypoint( trafficRef != 0 );
|
||||
if (!(fp->getNextWaypoint()) && trafficRef != 0)
|
||||
if (!loadNextLeg()) {
|
||||
setDie(true);
|
||||
return;
|
||||
|
|
|
@ -907,7 +907,7 @@ FGMultiplayMgr::ProcessPosMsg(const FGMultiplayMgr::MsgBuf& Msg,
|
|||
length = MAX_TEXT_SIZE;
|
||||
pData->string_value = new char[length + 1];
|
||||
//cout << " String: ";
|
||||
for (int i = 0; i < length; i++)
|
||||
for (unsigned i = 0; i < length; i++)
|
||||
{
|
||||
pData->string_value[i] = (char) XDR_decode_int8(*xdr);
|
||||
xdr++;
|
||||
|
|
Loading…
Reference in a new issue