aboutsummaryrefslogtreecommitdiff
path: root/src/wsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wsocket.c')
-rw-r--r--src/wsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wsocket.c b/src/wsocket.c
index 0294dce..69fac4d 100644
--- a/src/wsocket.c
+++ b/src/wsocket.c
@@ -193,7 +193,7 @@ int sock_send(p_sock ps, const char *data, size_t count, size_t *sent, p_tm tm)
193 *sent = 0; 193 *sent = 0;
194 for ( ;; ) { 194 for ( ;; ) {
195 /* try to send something */ 195 /* try to send something */
196 int put = send(*ps, data, count, 0); 196 int put = send(*ps, data, (int) count, 0);
197 /* if we sent something, we are done */ 197 /* if we sent something, we are done */
198 if (put > 0) { 198 if (put > 0) {
199 *sent = put; 199 *sent = put;