From d202fbcc002665f85a6716af918454aff767c0ba Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Feb 2016 10:21:09 +0100 Subject: examples: fix some compiler warnings --- docs/examples/sendrecv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/sendrecv.c') diff --git a/docs/examples/sendrecv.c b/docs/examples/sendrecv.c index 46daf80e7..41e283cdc 100644 --- a/docs/examples/sendrecv.c +++ b/docs/examples/sendrecv.c @@ -98,7 +98,7 @@ int main(void) return 1; } - sockfd = sockextr; + sockfd = (curl_socket_t)sockextr; /* wait for the socket to become ready for sending */ if(!wait_on_socket(sockfd, 0, 60000L)) { -- cgit v1.2.3