mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
fa5b280a37
commit
b5b21ba169
1 changed files with 3 additions and 3 deletions
|
@ -606,7 +606,7 @@ void loopLogin()
|
||||||
string LSHost(ConfigFile->getVar("LSHost").asString());
|
string LSHost(ConfigFile->getVar("LSHost").asString());
|
||||||
Login = ConfigFile->getVar("Login").asString();
|
Login = ConfigFile->getVar("Login").asString();
|
||||||
string Password = ConfigFile->getVar("Password").asString();
|
string Password = ConfigFile->getVar("Password").asString();
|
||||||
CHashKeyMD5 hk = getMD5((uint8 *)Password.c_str(), Password.size());
|
CHashKeyMD5 hk = getMD5((uint8 *)Password.c_str(), (uint32)Password.size());
|
||||||
string CPassword = hk.toString();
|
string CPassword = hk.toString();
|
||||||
nlinfo("The crypted password is %s", CPassword.c_str());
|
nlinfo("The crypted password is %s", CPassword.c_str());
|
||||||
string Application = ConfigFile->getVar("ClientApplication").asString();
|
string Application = ConfigFile->getVar("ClientApplication").asString();
|
||||||
|
@ -1077,8 +1077,8 @@ sint main(int argc, char **argv)
|
||||||
// extract the 2 first param (argv[1] and argv[2]) it must be cookie and addr
|
// extract the 2 first param (argv[1] and argv[2]) it must be cookie and addr
|
||||||
|
|
||||||
string cmd = cmdline;
|
string cmd = cmdline;
|
||||||
int pos1 = cmd.find_first_not_of (' ');
|
string::size_type pos1 = cmd.find_first_not_of (' ');
|
||||||
int pos2;
|
string::size_type pos2;
|
||||||
if (pos1 != string::npos)
|
if (pos1 != string::npos)
|
||||||
{
|
{
|
||||||
pos2 = cmd.find (' ', pos1);
|
pos2 = cmd.find (' ', pos1);
|
||||||
|
|
Loading…
Reference in a new issue