Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2011-05-29 13:57:31 +02:00
parent e52c34573d
commit 1e19a3d399

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;
} }