Commit 25cf33d5 authored by matze's avatar matze

Warning fixed by adding a cast to char

parent 0acd818e
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment