added cast

This commit is contained in:
joaquintides committed 2022-10-27 18:26:46 +02:00
1 parent bb30498399
commit f9b1a5f105
1 file changed
+1 -1
+1 -1
View File
@@ -1559,7 +1559,7 @@ private:
prefetch_elements(p);
do{
//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]))))){
return {pg,n,p+n};
}