git: libc/rpc: Fix -Wtype-limits.

Sascha Wildner swildner at
Tue Apr 16 01:14:08 PDT 2019

commit f4482edf2475cf4a3c0d3f1526718c797330c1d4
Author: Sascha Wildner <saw at>
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 mailing list