fixed warnings under windows

This commit is contained in:
Vladislav Vinogradov
2012-12-18 18:03:54 +04:00
parent ab25fe9e37
commit 41c9377db0
10 changed files with 30 additions and 30 deletions

View File

@@ -606,8 +606,8 @@ static void FastOpticalFlowBM_gold(const cv::Mat_<uchar>& I0, const cv::Mat_<uch
}
}
velx(y, x) = bestDx;
vely(y, x) = bestDy;
velx(y, x) = (float) bestDx;
vely(y, x) = (float) bestDy;
}
}
}