diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-11-23 19:41:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-11-23 19:41:48 +0000 |
commit | d64a397a543831f55bded895dca6f00f093ef4ee (patch) | |
tree | 6d2d95600c7fd21a6793b27e9b9b53b604ab9374 /localedata/collate-test.c | |
parent | 33e09162d0187eddf91bafa5e64f9d413a5a920f (diff) | |
download | glibc-d64a397a543831f55bded895dca6f00f093ef4ee.zip glibc-d64a397a543831f55bded895dca6f00f093ef4ee.tar.gz glibc-d64a397a543831f55bded895dca6f00f093ef4ee.tar.bz2 |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/collate-test.c b/localedata/collate-test.c index 789b371..4003f3f 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); } |