fix sign conversion in radsort.h

This commit is contained in:
Nikita Smith
2025-08-21 15:16:32 -07:00
committed by Ryan Fleury
parent 971f1b9a2f
commit daf69ff1c7
+1 -1
View File
@@ -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 );