Core: Fixed some level 4 warnings (msvc)

This commit is contained in:
Shauren committed 2012-12-31 20:43:14 +01:00
1 parent b229f72bf4
commit f1170ba0fb
26 files changed
+177 -167

No files matched your search

@@ -32,7 +32,7 @@
RASocket::RASocket()
{
_minLevel = ConfigMgr::GetIntDefault("RA.MinLevel", 3);
_minLevel = uint8(ConfigMgr::GetIntDefault("RA.MinLevel", 3));
}
RASocket::~RASocket()
@@ -332,7 +332,7 @@ int RASocket::subnegotiate()
//! Just send back end of subnegotiation packet
uint8 const reply[2] = {0xFF, 0xF0};
return peer().send(reply, 2);
return int(peer().send(reply, 2));
}
int RASocket::svc(void)