about summary refs log tree commit diff
path: root/localedata/collate-test.c
diff options
context:
space:
mode:
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);
 }