mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/RA: Warning fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user