diff options
Diffstat (limited to 'include/divsufsort_private.h')
-rw-r--r-- | include/divsufsort_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/divsufsort_private.h b/include/divsufsort_private.h index 0d7bd28..c0ab5a6 100644 --- a/include/divsufsort_private.h +++ b/include/divsufsort_private.h @@ -78,7 +78,7 @@ extern "C" { #if defined(SS_INSERTIONSORT_THRESHOLD) # if SS_INSERTIONSORT_THRESHOLD < 1 # undef SS_INSERTIONSORT_THRESHOLD -# define SS_INSERTIONSORT_THRESHOLD 1 +# define SS_INSERTIONSORT_THRESHOLD (1) # endif #else # define SS_INSERTIONSORT_THRESHOLD (8) @@ -86,10 +86,10 @@ extern "C" { #if defined(SS_BLOCKSIZE) # if SS_BLOCKSIZE < 0 # undef SS_BLOCKSIZE -# define SS_BLOCKSIZE 0 -# elif 65536 <= SS_BLOCKSIZE +# define SS_BLOCKSIZE (0) +# elif 32768 <= SS_BLOCKSIZE # undef SS_BLOCKSIZE -# define SS_BLOCKSIZE 65535 +# define SS_BLOCKSIZE (32767) # endif #else # define SS_BLOCKSIZE (1024) |