Fixed warnings

This was SVN commit r2319.
This commit is contained in:
Ykkrosh
2005-05-18 21:19:56 +00:00
parent 3a255148dc
commit f1e9bf6227
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -132,12 +132,12 @@ HEntity::operator CStr() const
uint CEntityList::GetSerializedLength() const
{
return 2*size();
return (uint)(2*size());
}
u8 *CEntityList::Serialize(u8 *buffer) const
{
for (int i=0;i<size();i++)
for (size_t i=0;i<size();i++)
Serialize_int_2(buffer, at(i).m_handle);
Serialize_int_2(buffer, back().m_handle | HANDLE_SENTINEL_BIT);
return buffer;