diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/stdlib/qsort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/qsort.c b/src/stdlib/qsort.c index 535e8551..a6746947 100644 --- a/src/stdlib/qsort.c +++ b/src/stdlib/qsort.c @@ -10,7 +10,7 @@ void qsort(void * base, size_t nmemb, size_t size, int (*compar)(const void *, c size, compar, }; - __qsort(&qs, 0, nmemb); + __qsort(&qs, 0, nmemb - 1); } /*** |
