diff options
Diffstat (limited to 'plugins/FavContacts')
-rw-r--r-- | plugins/FavContacts/src/csocket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/csocket.cpp b/plugins/FavContacts/src/csocket.cpp index c8a2b40503..b3d53d60f1 100644 --- a/plugins/FavContacts/src/csocket.cpp +++ b/plugins/FavContacts/src/csocket.cpp @@ -7,7 +7,8 @@ int CSocket::Recv(char *buf, int count) int CSocket::Send(char *buf, int count)
{
- if (count < 0) count = strlen(buf);
+ if (count < 0)
+ count = (int)strlen(buf);
return send(m_socket, buf, count, 0);
}
|