From d64a397a543831f55bded895dca6f00f093ef4ee Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 23 Nov 2000 19:41:48 +0000 Subject: Update. 2000-11-23 Ulrich Drepper * 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. --- localedata/collate-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'localedata/collate-test.c') 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); } -- cgit v1.2.3