libc/rpc: Fix -Wtype-limits.
authorSascha Wildner <saw@online.de>
Tue, 16 Apr 2019 08:13:52 +0000 (10:13 +0200)
committerSascha Wildner <saw@online.de>
Tue, 16 Apr 2019 08:13:52 +0000 (10:13 +0200)
commitf4482edf2475cf4a3c0d3f1526718c797330c1d4
tree0ff64bf486239e21f6a98b6fd1630963e6702176
parent0302f53e78f8152d346f5a9ee1fbb6ec20f3527b
libc/rpc: Fix -Wtype-limits.

Instead of triggering a warning by checking if the passed type is signed
split the INT_STRLEN_MACRO() into two, one for unsigned and the other for
signed types. The latter isn't used and was added just for completeness.
lib/libc/rpc/netname.c