commit | d01c9aa7ca949220e76d28972359f97dd0b040b1 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Aug 01 18:29:41 2018 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Aug 01 18:29:41 2018 +0200 |
tree | 1b2da654aad0a1846b2f5c753223d45065c9e10d | |
parent | 4e30c67fa0eb0ddd9f68f783ee44806c4495cd82 [diff] |
cp: placate gcc8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/coreutils/cp.c b/coreutils/cp.c index ae60623..b26c0e9 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c
@@ -114,7 +114,7 @@ # endif ); # if ENABLE_FEATURE_CP_REFLINK - BUILD_BUG_ON(OPT_reflink != FILEUTILS_REFLINK); + BUILD_BUG_ON((int)OPT_reflink != (int)FILEUTILS_REFLINK); if (flags & FILEUTILS_REFLINK) { if (!reflink) flags |= FILEUTILS_REFLINK_ALWAYS;