diff options
Diffstat (limited to 'iconv')
-rw-r--r-- | iconv/skeleton.c | 2 |
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); \ |