aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-14 19:30:41 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-14 19:30:41 +0000
commit3e1e749e27765b2513b32d9cb1cd058830e6b2c8 (patch)
treeecdea37094e73dcc4b6ff62058c906ec7a187c89
parent1bf60c01b827f480c65d5e5accdc4fa47825d5e1 (diff)
downloadglibc-3e1e749e27765b2513b32d9cb1cd058830e6b2c8.zip
glibc-3e1e749e27765b2513b32d9cb1cd058830e6b2c8.tar.gz
glibc-3e1e749e27765b2513b32d9cb1cd058830e6b2c8.tar.bz2
Update.
1999-10-14 Cristian Gafton <gafton@redhat.com> * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
-rw-r--r--ChangeLog4
-rw-r--r--string/bits/string2.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f6c1b9..42a3b69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/string/bits/string2.h b/string/bits/string2.h
index e015609..5c4777d 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) \