Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
1999-10-14  Cristian Gafton  <gafton@redhat.com>

	* string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
  • Loading branch information
Ulrich Drepper committed Oct 14, 1999
1 parent 1bf60c0 commit 3e1e749
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion string/bits/string2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit 3e1e749

Please sign in to comment.