linux: fix -Wsign-compare warning
Fixes: https://github.com/libuv/libuv/issues/3011 PR-URL: https://github.com/libuv/libuv/pull/3028 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
parent
a00f80812e
commit
5166133e24
@ -1220,7 +1220,7 @@ static ssize_t uv__fs_copyfile(uv_fs_t* req) {
|
||||
if (fstatfs(dstfd, &s) == -1)
|
||||
goto out;
|
||||
|
||||
if (s.f_type != /* CIFS */ 0xFF534D42u)
|
||||
if ((unsigned) s.f_type != /* CIFS */ 0xFF534D42u)
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user