diff --git a/modules/3d/src/rgbd/odometry_frame_impl.cpp b/modules/3d/src/rgbd/odometry_frame_impl.cpp index 3ec33d6ba4..9f4bdbfcbe 100644 --- a/modules/3d/src/rgbd/odometry_frame_impl.cpp +++ b/modules/3d/src/rgbd/odometry_frame_impl.cpp @@ -219,7 +219,7 @@ template void OdometryFrameImplTMat::setPyramidAt(InputArray _img, OdometryFramePyramidType pyrType, size_t level) { CV_Assert(pyrType >= 0); - CV_Assert(pyrType < pyramids.size()); + CV_Assert((size_t)pyrType < pyramids.size()); CV_Assert(level < pyramids[pyrType].size()); TMat img = getTMat(_img); pyramids[pyrType][level] = img;