From d01c9aa7ca949220e76d28972359f97dd0b040b1 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 1 Aug 2018 18:29:41 +0200 Subject: cp: placate gcc8 Signed-off-by: Denys Vlasenko --- coreutils/cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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 @@ 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; -- cgit v1.1