]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__stpcpy_small): Make -pedantic shut up.
authorUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 00:55:01 +0000 (00:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 00:55:01 +0000 (00:55 +0000)
string/bits/string2.h

index 314cb382edcb3b7c3ef316e1185363ef41ae4a88..78b7994b11a6ad57719cd5dd76ca0277a86f60aa 100644 (file)
@@ -564,6 +564,7 @@ __stpcpy_small (char *__dest,
     unsigned int __ui;
     unsigned short int __usi;
     unsigned char __uc;
+    char __c;
   } *__u = (void *) __dest;
   switch (__srclen)
     {
@@ -608,7 +609,7 @@ __stpcpy_small (char *__dest,
       __u = __extension__ ((void *) __u + 3);
       break;
     }
-  return &__u->__uc;
+  return &__u->__c;
 }
 #  else
 #  define __stpcpy_args(src) \