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
56cc214ac7
commit
994278eff3
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ _lws_plat_file_open(const struct lws_plat_file_ops *fops_own,
|
|||
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