diff options
author | Tobias Maier <tobias.maier@netplace.com> | 2012-04-05 11:57:12 +0200 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-04-05 18:24:53 +0800 |
commit | e8c9b565a49fa998f6e43dbfc214124f048b1acc (patch) | |
tree | 700282ce26f22d9b14f3387518dfdf4fb01aa79a | |
parent | 3059263e3f3b32204da92e64c72c31d07bda6251 (diff) |
use ssize_t instead of size_t for return values of read/recv/SSL_read
Signed-off-by: Tobias Maier <tobias.maier@netplace.com>
-rw-r--r-- | lib/libwebsockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index b75ab3b..94f0a94 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1448,7 +1448,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context, struct libwebsocket *new_wsi; int n; int m; - size_t len; + ssize_t len; int accept_fd; unsigned int clilen; struct sockaddr_in cli_addr; |