about summary refs log tree commit diff
path: root/localedata/collate-test.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-23 19:41:48 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-23 19:41:48 +0000
commitd64a397a543831f55bded895dca6f00f093ef4ee (patch)
tree6d2d95600c7fd21a6793b27e9b9b53b604ab9374 /localedata/collate-test.c
parent33e09162d0187eddf91bafa5e64f9d413a5a920f (diff)
downloadglibc-d64a397a543831f55bded895dca6f00f093ef4ee.tar.gz
glibc-d64a397a543831f55bded895dca6f00f093ef4ee.tar.xz
glibc-d64a397a543831f55bded895dca6f00f093ef4ee.zip
Update.
2000-11-23  Ulrich Drepper  <drepper@redhat.com>

	* tst-digits.c (main): Add casts to avoid warnings.
	* collate-test.c (xstrcoll): Make l1 and l2 const.
	* xfrm-test.c (xstrcmp): Make l1 and l2 const.
Diffstat (limited to 'localedata/collate-test.c')
-rw-r--r--localedata/collate-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/collate-test.c b/localedata/collate-test.c
index 789b371ad3..4003f3f18e 100644
--- a/localedata/collate-test.c
+++ b/localedata/collate-test.c
@@ -116,8 +116,8 @@ xstrcoll (ptr1, ptr2)
      const void *ptr1;
      const void *ptr2;
 {
-  struct lines *l1 = (struct lines *) ptr1;
-  struct lines *l2 = (struct lines *) ptr2;
+  const struct lines *l1 = (const struct lines *) ptr1;
+  const struct lines *l2 = (const struct lines *) ptr2;
 
   return strcoll (l1->key, l2->key);
 }