When I compile an application which includes <bits/string2.h> with "-pedantic", I see this warning: /usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness This patch to string2.h fixes the problem: --- /usr/include/bits/string2.h~ Mon Sep 20 05:12:49 1999 +++ /usr/include/bits/string2.h Mon Nov 22 19:28:52 1999 @@ -608,7 +608,7 @@ __u = __extension__ ((void *) __u + 3); break; } - return &__u->__uc; + return (char *) &__u->__uc; } # else # define __stpcpy_args(src) \
Fixed in the rawhide version of glibc.