From d01c9aa7ca949220e76d28972359f97dd0b040b1 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 1 Aug 2018 18:29:41 +0200 Subject: [PATCH] cp: placate gcc8 Signed-off-by: Denys Vlasenko --- 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; -- 2.25.1