HomeFreeBSD

Fix some things found during a "make universe". A couple of signed vs

Description

Fix some things found during a "make universe". A couple of signed vs
unsigned comparisons and declaring "optarg" local to a function were minor ones.
The main one was the alignment for sockaddr_in is stricter than sockaddr
for MIPS. To deal with this, I copied the sockaddr into a sockaddr_in.
(I actually suspect that getaddrinfo() returns a well aligned ptr, but...)

Details

Provenance
rmacklemAuthored on
Parents
rS334750: hwpmc: don't do EMIT64 on constant
Branches
Unknown
Tags
Unknown