1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Silence spurious loss-of-data warnings from Windows.

Added explicit casts to silence warnings in fundam.cpp and rhorefc.cpp.
This commit is contained in:
Olexa Bilaniuk
2015-02-04 02:26:01 -05:00
parent ce0570b777
commit 2609e77af7
2 changed files with 14 additions and 14 deletions
+5 -5
View File
@@ -332,12 +332,12 @@ static bool createAndRunRHORegistrator(double confidence,
(const float*)src.data,
(const float*)dst.data,
(char*) tempMask.data,
npoints,
ransacReprojThreshold,
maxIters,
maxIters,
(unsigned) npoints,
(float) ransacReprojThreshold,
(unsigned) maxIters,
(unsigned) maxIters,
confidence,
4,
4U,
beta,
RHO_FLAG_ENABLE_NR | RHO_FLAG_ENABLE_FINAL_REFINEMENT,
NULL,