summaryrefslogtreecommitdiff
path: root/Build/source/texk/makeindexk/sortid.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/makeindexk/sortid.c')
-rw-r--r--Build/source/texk/makeindexk/sortid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/makeindexk/sortid.c b/Build/source/texk/makeindexk/sortid.c
index be75fb5f7b7..f3353a5854d 100644
--- a/Build/source/texk/makeindexk/sortid.c
+++ b/Build/source/texk/makeindexk/sortid.c
@@ -167,7 +167,7 @@ compare_string(unsigned char *a, unsigned char *b)
int al;
int bl;
- if (locale_sort) return strcoll(a, b);
+ if (locale_sort) return strcoll((char *)a, (char *)b);
while ((a[i] != NUL) || (b[j] != NUL)) {
if (a[i] == NUL)