aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;