1
0

Fixed various warnings.

This commit is contained in:
Mattes D
2015-01-18 18:01:24 +01:00
parent b1c58b7b52
commit 45b1d5ff78
3 changed files with 8 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ void cHTTPMessage::AddHeader(const AString & a_Key, const AString & a_Value)
}
else if (Key == "content-length")
{
m_ContentLength = atoi(m_Headers[Key].c_str());
m_ContentLength = static_cast<size_t>(atol(m_Headers[Key].c_str()));
}
}