mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix several errors and warnings from GCC compilation
This commit is contained in:
@ -79,7 +79,7 @@ bool ReportRoomToServer(const plKey &key)
|
||||
|
||||
if (skip)
|
||||
hsLogEntry(plNetApp::StaticDebugMsg("Not reporting room %s to server, reserved=%d, virtual=%d",
|
||||
key->GetName(), keyLoc.IsReserved(), keyLoc.IsVirtual()));
|
||||
key->GetName().c_str(), keyLoc.IsReserved(), keyLoc.IsVirtual()));
|
||||
|
||||
return !skip;
|
||||
}
|
||||
@ -110,7 +110,7 @@ void plAgeLoader::FinishedPagingInRoom(plKey* rmKey, int numRms)
|
||||
continue;
|
||||
|
||||
pagingMsg->AddRoom(key);
|
||||
hsLogEntry(nc->DebugMsg("\tSending PageIn/RequestState msg, room=%s\n", key->GetName()));
|
||||
hsLogEntry(nc->DebugMsg("\tSending PageIn/RequestState msg, room=%s\n", key->GetName().c_str()));
|
||||
}
|
||||
if( pagingMsg->GetNumRooms() > 0 ) // all rooms were reserved
|
||||
{
|
||||
@ -148,7 +148,7 @@ void plAgeLoader::FinishedPagingOutRoom(plKey* rmKey, int numRms)
|
||||
if( found != fPendingPageOuts.end() )
|
||||
{
|
||||
fPendingPageOuts.erase( found );
|
||||
nc->DebugMsg("Finished paging out room %s", rmKey[i]->GetName());
|
||||
nc->DebugMsg("Finished paging out room %s", rmKey[i]->GetName().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
@ -179,7 +179,7 @@ void plAgeLoader::StartPagingOutRoom(plKey* rmKey, int numRms)
|
||||
continue;
|
||||
|
||||
pagingMsg.AddRoom(rmKey[i]);
|
||||
nc->DebugMsg("\tSending PageOut msg, room=%s", rmKey[i]->GetName());
|
||||
nc->DebugMsg("\tSending PageOut msg, room=%s", rmKey[i]->GetName().c_str());
|
||||
}
|
||||
|
||||
if (!pagingMsg.GetNumRooms()) // all rooms were reserved
|
||||
@ -205,7 +205,7 @@ void plAgeLoader::IgnorePagingOutRoom(plKey* rmKey, int numRms)
|
||||
if( found != fPendingPageOuts.end() )
|
||||
{
|
||||
fPendingPageOuts.erase( found );
|
||||
nc->DebugMsg("Ignoring paged out room %s", rmKey[i]->GetName());
|
||||
nc->DebugMsg("Ignoring paged out room %s", rmKey[i]->GetName().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user