HomeFreeBSD

Try to fix gcc compilation errors (which are right).

Description

Try to fix gcc compilation errors (which are right).
nat64_getlasthdr() returns an int, which can be -1 in case of error,
storing the result in an uint8_t and then comparing to < 0 is not
helpful. Do what is done in the rest of the code and make proto an
int here as well.

Details

Provenance
bzAuthored on
Parents
rS304377: MFC r302483: Remove some dead code found by Clang static analyzer.
Branches
Unknown
Tags
Unknown