mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
osx fix unsigned signed compare error
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
4e442b7743
commit
95181d96a7
1 changed files with 2 additions and 1 deletions
|
@ -547,7 +547,8 @@ LWS_VISIBLE int lws_serve_http_file_fragment(struct lws_context *context,
|
|||
/* adjust for what was not sent */
|
||||
if (lws_plat_file_seek_cur(&context->fops,
|
||||
wsi->u.http.fd,
|
||||
m - n) < 0)
|
||||
m - n) ==
|
||||
(unsigned long)-1)
|
||||
return -1;
|
||||
}
|
||||
all_sent:
|
||||
|
|
Loading…
Add table
Reference in a new issue