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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user