diff --git a/lib/qsort.c b/lib/qsort.c index f648714..d413096 100644 --- a/lib/qsort.c +++ b/lib/qsort.c @@ -31,7 +31,7 @@ return; /* check for overflow */ - if (nel <= ((size_t)(-1)) / width) + if (nel > ((size_t)(-1)) / width) return; wgap = 0;