cp: placate gcc8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-08-01 18:29:41 +02:00
parent 4e30c67fa0
commit d01c9aa7ca

View File

@ -114,7 +114,7 @@ int cp_main(int argc, char **argv)
# endif # endif
); );
# if ENABLE_FEATURE_CP_REFLINK # 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 (flags & FILEUTILS_REFLINK) {
if (!reflink) if (!reflink)
flags |= FILEUTILS_REFLINK_ALWAYS; flags |= FILEUTILS_REFLINK_ALWAYS;