1999-10-14  Cristian Gafton  <gafton@redhat.com>

	* string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
This commit is contained in:
Ulrich Drepper 1999-10-14 19:30:41 +00:00
parent 1bf60c01b8
commit 3e1e749e27
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-10-14 Cristian Gafton <gafton@redhat.com>
* string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
1999-10-14 Andreas Jaeger <aj@suse.de>
* resolv/inet_addr.c (inet_aton): Fix last patch. The little

View File

@ -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) \