[git commit] cp: placate gcc8
Denys Vlasenko
vda.linux at googlemail.com
Wed Aug 1 16:29:41 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=d01c9aa7ca949220e76d28972359f97dd0b040b1
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
coreutils/cp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the busybox-cvs
mailing list