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

Fixed several GCC 5.x warnings

This commit is contained in:
Maksim Shabunin
2016-08-31 23:12:52 +03:00
committed by Alexander Alekhin
parent 4d041e6809
commit 21167b1bf1
21 changed files with 70 additions and 61 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ static void cvTsSimpleSeqShiftAndCopy( CvTsSimpleSeq* seq, int from_idx, int to_
(seq->count - from_idx)*elem_size );
}
seq->count += to_idx - from_idx;
if( elem && to_idx > from_idx )
if( elem )
memcpy( seq->array + from_idx*elem_size, elem, (to_idx - from_idx)*elem_size );
}