Changed: #825 Remove all warning when compiling Ryzom on Linux

This commit is contained in:
kervala 2010-06-11 13:20:13 +02:00
parent 9a90995ce2
commit 004f5b3f83
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ void CStdDisplayer::doDisplay ( const CLog::TDisplayInfo& args, const char *mess
printf ("%s", str.c_str()); printf ("%s", str.c_str());
if (!args.CallstackAndLog.empty()) if (!args.CallstackAndLog.empty())
printf (args.CallstackAndLog.c_str()); printf ("%s", args.CallstackAndLog.c_str());
fflush(stdout); fflush(stdout);
} }

View file

@ -2572,7 +2572,7 @@ TUserRole CServerEditionModule::getRoleByCharId(TCharId charId) const
} }
TPioneersSessionsAllowed * const CServerEditionModule::getSessionAllowedForChar(TCharId charId) const TPioneersSessionsAllowed * CServerEditionModule::getSessionAllowedForChar(TCharId charId) const
{ {
TPioneersSessionsAlloweds::const_iterator found = _PioneersSessionsAllowed.find(charId); TPioneersSessionsAlloweds::const_iterator found = _PioneersSessionsAllowed.find(charId);
if (found == _PioneersSessionsAllowed.end()) return NULL; if (found == _PioneersSessionsAllowed.end()) return NULL;