Skip to content

Commit

Permalink
unix-file: Fix signed/unsigned implicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads authored and lws-team committed Oct 3, 2024
1 parent 56cc214 commit 994278e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plat/unix/unix-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 994278e

Please sign in to comment.