From 6ed48c5290c828e858b31c692467eb4d61a7885d Mon Sep 17 00:00:00 2001 From: Simon Armstrong Date: Sun, 22 Jan 2017 11:39:01 +1300 Subject: [PATCH] fix compilation issue with mingw gcc 6.3.0 --- mod/brl.mod/blitz.mod/blitz_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/brl.mod/blitz.mod/blitz_array.c b/mod/brl.mod/blitz.mod/blitz_array.c index 27269e6..e729f81 100644 --- a/mod/brl.mod/blitz.mod/blitz_array.c +++ b/mod/brl.mod/blitz.mod/blitz_array.c @@ -349,7 +349,7 @@ static void IDENT( TYPE *lo,TYPE *hi ){\ #undef LESSTHAN #define LESSTHAN(X,Y) (*(X)<*(Y)) QSORTARRAY( unsigned char,_qsort_b ) -QSORTARRAY( unsigned short,qsort_s ) +QSORTARRAY( unsigned short,_qsort_s ) QSORTARRAY( int,qsort_i ) QSORTARRAY( BBInt64,qsort_l ); QSORTARRAY( float,qsort_f ); @@ -378,7 +378,7 @@ void bbArraySort( BBArray *arr,int ascending ){ if( ascending ){ switch( arr->type[0] ){ case 'b':_qsort_b( (unsigned char*)p,(unsigned char*)p+n );break; - case 's':qsort_s( (unsigned short*)p,(unsigned short*)p+n );break; + case 's':_qsort_s( (unsigned short*)p,(unsigned short*)p+n );break; case 'i':qsort_i( (int*)p,(int*)p+n );break; case 'l':qsort_l( (BBInt64*)p,(BBInt64*)p+n );break; case 'f':qsort_f( (float*)p,(float*)p+n );break; -- 2.30.2