commit | 520d3b81ad7b8f78f3ec25886006dc0c9633e525 | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Mon Sep 14 20:03:19 2015 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Mon Sep 14 20:03:19 2015 +0100 |
tree | 4f49cc541a3e5dbc7a29c851fc43b3a167098277 | |
parent | 49641ad79998d836350908cc1790e1bbb06fe850 [diff] | |
parent | c57556e52aa0c0028f98528bd7139ca0c56092eb [diff] |
Merge pull request #289 from quartzjer/development Corrections to typos in README.md
diff --git a/library/net.c b/library/net.c index b892df9..b5d0688 100644 --- a/library/net.c +++ b/library/net.c
@@ -319,7 +319,7 @@ /* UDP: wait for a message, but keep it in the queue */ char buf[1] = { 0 }; - ret = recvfrom( bind_ctx->fd, buf, sizeof( buf ), MSG_PEEK, + ret = (int) recvfrom( bind_ctx->fd, buf, sizeof( buf ), MSG_PEEK, (struct sockaddr *) &client_addr, &n ); #if defined(_WIN32)