Commit a14dfc86 authored by Matt Selsky's avatar Matt Selsky
Browse files

Fix printf of sa_family_t variables.

sa_family_t is different sizes on different platforms (eg unsigned char on osx;
unsigned short on linux).  For portability, cast to uintmax_t, since we're
guaranteed to avoid loss of precision, and then use the format specifier for
that type.
parent c6b45a2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment