diff --git a/ChangeLog b/ChangeLog index c36626bb95..af09847a30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2000-12-10 Andreas Jaeger * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed - cast as suggested by Jakub Jelinek . + cast as suggested by Jakub Jelinek and Ulrich + Drepper . 2000-12-09 Andreas Jaeger diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index 6fa3448174..a5bf63f71d 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -1483,8 +1483,8 @@ charclass_symbolic_ellipsis (struct linereader *ldfile, uint32_t wch; sprintf (tmp, (base == 10 ? "%.*s%0*ld" : "%.*s%0*lX"), - cp - last_str, last_str, - (int) (now->val.str.lenmb - (int) (cp - last_str)), + (int) (cp - last_str), last_str, + (int) (now->val.str.lenmb - (cp - last_str)), from); get_character (now, charmap, repertoire, &seq, &wch);