about summary refs log tree commit diff
path: root/stdlib/testsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/testsort.c')
-rw-r--r--stdlib/testsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/testsort.c b/stdlib/testsort.c
index 3ae55b14b9..a9a43c76ea 100644
--- a/stdlib/testsort.c
+++ b/stdlib/testsort.c
@@ -3,7 +3,7 @@
 #include <stdio.h>
 
 int
-compare (const char *a, const char *b)
+compare (const void *a, const void *b)
 {
   return strcmp (*(char **) a, *(char **) b);
 }