diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
commit | 11743fd21a99b32ae358f56b7cabdd8368bf78aa (patch) | |
tree | 239aa0a8b58bec4f4f1ad70d6b356e9196f16e0f /sys/libn/test.c | |
parent | ec3ad4722a5cd53491d6cf031c94d394f17e5c5e (diff) |
change signature for string functions
Diffstat (limited to 'sys/libn/test.c')
-rw-r--r-- | sys/libn/test.c | 2 |
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); |