mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
fixed ~300 warnings under windows (had to hack gtest a bit)
This commit is contained in:
@@ -1116,13 +1116,13 @@ CvDTreeSplit* CvForestERTree::find_split_cat_class( CvDTreeNode* node, int vi, f
|
||||
|
||||
if (var_class_mask->data.ptr[mask_class_idx])
|
||||
{
|
||||
lc[r]+=p;
|
||||
lc[r]+=(int)p;
|
||||
L+=p;
|
||||
split->subset[var_class_idx >> 5] |= 1 << (var_class_idx & 31);
|
||||
}
|
||||
else
|
||||
{
|
||||
rc[r]+=p;
|
||||
rc[r]+=(int)p;
|
||||
R+=p;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user