added cast

This commit is contained in:
joaquintides
2022-10-27 18:26:46 +02:00
parent bb30498399
commit f9b1a5f105

View File

@@ -1559,7 +1559,7 @@ private:
prefetch_elements(p); prefetch_elements(p);
do{ do{
//auto n=unchecked_countr_zero(mask); //auto n=unchecked_countr_zero(mask);
auto n=__builtin_ctz((unsigned int)mask); auto n=(unsigned int)__builtin_ctz((unsigned int)mask);
if(BOOST_LIKELY(bool(pred()(x,key_from(p[n]))))){ if(BOOST_LIKELY(bool(pred()(x,key_from(p[n]))))){
return {pg,n,p+n}; return {pg,n,p+n};
} }