summaryrefslogtreecommitdiff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-06 05:04:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-06 05:04:50 +0000
commita1303dc8dc57dbcd4605992dc177d11ae4d45aab (patch)
tree2aab8a4fbc1a903a38bae5d623df451dca64497b /iconv/skeleton.c
parent2a0ff6ff1a3679479c729fce816fc21e73c54dfb (diff)
downloadglibc-a1303dc8dc57dbcd4605992dc177d11ae4d45aab.tar.gz
Update.
2000-04-05 Cristian Gafton <gafton@redhat.com> * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ because it is used in generic code. * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. * wcsmbs/wcwidth.h: Declare __ctype32_b. * intl/gettext.c: Include <locale.h>. * intl/ngettext.c: Likewise. 2000-04-05 Jakub Jelinek <jakub@redhat.com> * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use socklen_t type for size. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new init function interface. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include sys/ucontext.h. (__jmp_buf): Declare the whole type structure here, don't use ucontext. * iconv/skeleton.c (put16u): Fix typo. Reported by Bruno Haible <haible@ilog.fr>.
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 4a1c7554bf..27b1cab234 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -168,7 +168,7 @@ static int to_object;
# define put16u(addr, val) \
({ uint16_t __val = (val); \
((unsigned char *) (addr))[1] = __val; \
- ((unsigned char *) (addr))[2] = __val >> 8; \
+ ((unsigned char *) (addr))[0] = __val >> 8; \
(void) 0; })
# define put32u(addr, val) \
({ uint32_t __val = (val); \