aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/test.c')
-rw-r--r--sys/libn/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libn/test.c b/sys/libn/test.c
index b52207d..66c3c7f 100644
--- a/sys/libn/test.c
+++ b/sys/libn/test.c
@@ -138,7 +138,7 @@ test·sort()
}
t = clock();
- qsort(test, arrlen(test), sizeof(int), &less);
+ qsort(test, arrlen(test), sizeof(int), (int (*)(const void *, const void *))less);
t = clock() - t;
printf("std qsort code took %f ms to execute\n", 1000.*t/CLOCKS_PER_SEC);