summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--locale/programs/ld-ctype.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c36626bb95..af09847a30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
2000-12-10 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
- cast as suggested by Jakub Jelinek <jakub@redhat.com>.
+ cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
+ Drepper <drepper@redhat.com>.
2000-12-09 Andreas Jaeger <aj@suse.de>
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);