about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-10 16:14:00 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-10 16:14:00 +0000
commit4e8d52c929277752bd92e7f3812c4800d75ca31a (patch)
tree4067061db77cee6bb891604e3b03c138824e252a
parent9068de3309a48270312080f1a838ac65eaaab59a (diff)
downloadglibc-4e8d52c929277752bd92e7f3812c4800d75ca31a.tar.gz
glibc-4e8d52c929277752bd92e7f3812c4800d75ca31a.tar.xz
glibc-4e8d52c929277752bd92e7f3812c4800d75ca31a.zip
Update.
	cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
	Drepper <drepper@redhat.com>.
-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);