Warning fixed by adding a cast to char

This commit is contained in:
matze 2016-09-02 21:09:25 +02:00
parent 0acd818efc
commit 25cf33d5c8

View File

@ -1048,7 +1048,7 @@ cvFindNextContour( CvContourScanner scanner )
goto _next_contour;
} else if (haveSSE2) {
__m128i v_prev = _mm_set1_epi8(prev);
__m128i v_prev = _mm_set1_epi8((char)prev);
int v_size = width - 32;
for (; x <= v_size; x += 32) {