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

build: fix/eliminate MSVC warnings

This commit is contained in:
Alexander Alekhin
2022-12-10 02:08:48 +00:00
parent 281b790618
commit be326ff752
8 changed files with 35 additions and 18 deletions
+1 -1
View File
@@ -1081,7 +1081,7 @@ template<typename R> struct TheTest
typedef typename VTraits<uint_reg>::lane_type uint_type;
Data<R> dataA, dataB(0), dataC, dataD(1), dataE(2);
dataA[0] = std::numeric_limits<int_type>::max();
dataA[0] = (LaneType)std::numeric_limits<int_type>::max();
dataA[1] *= (LaneType)-1;
union
{