git: libc/rpc: Fix -Wtype-limits.
swildner at crater.dragonflybsd.org
Tue Apr 16 01:14:08 PDT 2019
Author: Sascha Wildner <saw at online.de>
Date: Tue Apr 16 10:13:52 2019 +0200
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.
Summary of changes:
lib/libc/rpc/netname.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
DragonFly BSD source repository
More information about the Commits