HomeFreeBSD

veriexec: fix use of getopt

Description

veriexec: fix use of getopt

getopt(3) returns int type not char. Using char triggers the
-Wtautological-constant-out-of-range-compare warning with clang.
Change the type of the variable used for holding the return value
of getopt(3) to int to match the prototype and eliminate the warning.

MFC after: 1 week

Details

Provenance
stevekAuthored on Apr 17 2023, 12:59 AM
Parents
rG894bcc876da9: sys/modules/Makefile: conditionally add MAC/veriexec modules
Branches
Unknown
Tags
Unknown