Changed: #825 Remove all warnings when compiling Ryzom

hg/feature/sound
kervala 14 years ago
parent a27b6cd2bd
commit bf23d8c3a4

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

Loading…
Cancel
Save