HomeFreeBSD

sysutils/npadmin: Fix build with Clang 6

Description

sysutils/npadmin: Fix build with Clang 6

npadmin.C:109:41: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int' [-Wc++11-narrowing]

{"covers",      no_argument,&retval,COVER_FLAG},
                                    ^~~~~~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478648_s338416/logs/errors/npadmin-0.8.7_1.log

Details

Provenance
tobikAuthored on
Parents
rP478957: net-p2p/jigdo: Fix build with Clang 6
Branches
Unknown
Tags
Unknown