summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/csocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src/csocket.cpp')
-rw-r--r--plugins/FavContacts/src/csocket.cpp3
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);
}