mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
fix sign conversion in radsort.h
This commit is contained in:
committed by
Ryan Fleury
parent
971f1b9a2f
commit
daf69ff1c7
Vendored
+1
-1
@@ -558,7 +558,7 @@ RSFORCEINLINE void radsortinternal( void * start, size_t len, size_t element_siz
|
||||
piv = scan;
|
||||
while( scan <= rend )
|
||||
{
|
||||
size_t adv = is_before( scan, tmp );
|
||||
int adv = is_before( scan, tmp );
|
||||
swapper( piv, scan, element_size );
|
||||
if ( adv ) piv = rsadd_ptr( piv, element_size ); // needs to be a cmov
|
||||
scan = rsadd_ptr( scan, element_size );
|
||||
|
||||
Reference in New Issue
Block a user