diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-12 23:02:01 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-12 23:02:01 +0000 |
commit | 7a57eeccd8ded740d88aba3ea9dcb09050983dd0 (patch) | |
tree | 945953d547076b67567bd99b945ec33c6ee1ea59 /numsort.c | |
parent | b50243af303373a0af9185dd12d86b21990dde14 (diff) |
Remove stupid MAXPOSLONG define (otherwise standardized as LONG_MAX)
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@13 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'numsort.c')
-rw-r--r-- | numsort.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |