From 5166133e24e120e2a30df71ee112b08f180b3571 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 5 Nov 2020 09:33:03 +0100 Subject: [PATCH] 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 Reviewed-By: Richard Lau --- src/unix/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/fs.c b/src/unix/fs.c index 556fd103c..48e2bc883 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -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; }