mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
unix-file: Fix signed/unsigned implicit conversion
This commit is contained in:
parent
a544db3020
commit
dcf9dcaf2a
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ _lws_plat_file_open(const struct lws_plat_file_ops *fops, const char *filename,
|
|||
const char *vpath, lws_fop_flags_t *flags)
|
||||
{
|
||||
struct stat stat_buf;
|
||||
int ret = lws_open(filename, (*flags) & LWS_FOP_FLAGS_MASK, 0664);
|
||||
int ret = lws_open(filename, (int)((*flags) & LWS_FOP_FLAGS_MASK), 0664);
|
||||
lws_fop_fd_t fop_fd;
|
||||
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue