summaryrefslogtreecommitdiff
path: root/numsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'numsort.c')
-rw-r--r--numsort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numsort.c b/numsort.c
index f0ab459..34e685f 100644
--- a/numsort.c
+++ b/numsort.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <math.h>
+#include <limits.h>
#include "nmglobal.h"
#include "nbench1.h"
@@ -60,7 +61,7 @@ DoNumSort (void)
** minimum, then allocate for more arrays and
** try again.
*/
- if (DoNumSortIteration(arraybase, numsortstruct->arraysize, numsortstruct->numarrays)>global_min_ticks) {
+ if (DoNumSortIteration(arraybase, numsortstruct->arraysize, numsortstruct->numarrays) > global_min_ticks) {
break;
}