Core/RA: Warning fix

This commit is contained in:
Shauren
2013-01-19 13:35:01 +01:00
parent bc35a466e5
commit a77bb44d1e

View File

@@ -71,7 +71,7 @@ int RASocket::send(const std::string& line)
ssize_t n = peer().send(line.c_str(), line.length());
#endif // MSG_NOSIGNAL
return n == line.length() ? 0 : -1;
return n == ssize_t(line.length()) ? 0 : -1;
}
int RASocket::recv_line(ACE_Message_Block& buffer)