about summary refs log tree commit diff
path: root/localedata/xfrm-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/xfrm-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/xfrm-test.c')
-rw-r--r--localedata/xfrm-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/xfrm-test.c b/localedata/xfrm-test.c
index 7a9cbf8825..bc12fcdd3d 100644
--- a/localedata/xfrm-test.c
+++ b/localedata/xfrm-test.c
@@ -127,8 +127,8 @@ xstrcmp (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 strcmp (l1->xfrm, l2->xfrm);
 }