From 3e1e749e27765b2513b32d9cb1cd058830e6b2c8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Oct 1999 19:30:41 +0000 Subject: Update. 1999-10-14 Cristian Gafton * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up. --- string/bits/string2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'string/bits') diff --git a/string/bits/string2.h b/string/bits/string2.h index e01560988e..5c4777d99b 100644 --- a/string/bits/string2.h +++ b/string/bits/string2.h @@ -563,6 +563,7 @@ __stpcpy_small (char *__dest, unsigned int __ui; unsigned short int __usi; unsigned char __uc; + char __c; } *__u = (void *) __dest; switch (__srclen) { @@ -607,7 +608,7 @@ __stpcpy_small (char *__dest, __u = __extension__ ((void *) __u + 3); break; } - return &__u->__uc; + return &__u->__c; } # else # define __stpcpy_args(src) \ -- cgit v1.2.3