HomeFreeBSD

net/widentd: fix build on ARM / POWER

Description

net/widentd: fix build on ARM / POWER

widentd.c:70:48: error: result of comparison of constant -1 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]

while ((ch = getopt(argc, argv, "vo:u:s:i:")) != -1)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~

Details

Provenance
pkubajAuthored on May 9 2024, 12:38 PM
Parents
R11:fdf434595805: emulators/mednafen: fix build on powerpc64*
Branches
Unknown
Tags
Unknown