aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2018-08-01 18:29:41 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2018-08-01 18:29:41 +0200
commitd01c9aa7ca949220e76d28972359f97dd0b040b1 (patch)
tree1b2da654aad0a1846b2f5c753223d45065c9e10d /coreutils
parent4e30c67fa0eb0ddd9f68f783ee44806c4495cd82 (diff)
downloadbusybox-d01c9aa7ca949220e76d28972359f97dd0b040b1.tar.gz
busybox-d01c9aa7ca949220e76d28972359f97dd0b040b1.tar.bz2
cp: placate gcc8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c
index ae60623d3..b26c0e954 100644
--- a/coreutils/cp.c
+++ b/coreutils/cp.c
@@ -114,7 +114,7 @@ int cp_main(int argc, char **argv)
# 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;