Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2011-05-29 13:57:31 +02:00
parent bc994d4bec
commit 5da70e5d9d

View file

@ -674,7 +674,7 @@ void md5sum_s_s(CStateInstance* entity, CScriptStack& stack)
{ {
std::string str = (std::string)stack.top(); std::string str = (std::string)stack.top();
std::string value = NLMISC::getMD5((uint8*)&str[0], str.size() ).toString(); std::string value = NLMISC::getMD5((uint8*)&str[0], (uint32)str.size() ).toString();
nlinfo(value.c_str()); nlinfo(value.c_str());
stack.top() = value; stack.top() = value;
} }