mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 10:03:15 +08:00
Warning fixed by adding a cast to char
This commit is contained in:
parent
0acd818efc
commit
25cf33d5c8
@ -1048,7 +1048,7 @@ cvFindNextContour( CvContourScanner scanner )
|
|||||||
goto _next_contour;
|
goto _next_contour;
|
||||||
} else if (haveSSE2) {
|
} else if (haveSSE2) {
|
||||||
|
|
||||||
__m128i v_prev = _mm_set1_epi8(prev);
|
__m128i v_prev = _mm_set1_epi8((char)prev);
|
||||||
int v_size = width - 32;
|
int v_size = width - 32;
|
||||||
|
|
||||||
for (; x <= v_size; x += 32) {
|
for (; x <= v_size; x += 32) {
|
||||||
|
Loading…
Reference in New Issue
Block a user