osx fix unsigned signed compare error 2
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
d1c6d0bb06
commit
4812551234
1 changed files with 2 additions and 1 deletions
|
@ -354,7 +354,8 @@ int callback_http(struct lws_context *context, struct lws *wsi,
|
|||
if (m != n)
|
||||
/* partial write, adjust */
|
||||
if (lws_plat_file_seek_cur(lws_get_fops(context),
|
||||
pss->fd, m - n) < 0)
|
||||
pss->fd, m - n) ==
|
||||
(unsigned long)-1)
|
||||
goto bail;
|
||||
|
||||
if (m) /* while still active, extend timeout */
|
||||
|
|
Loading…
Add table
Reference in a new issue