fixed #2297, #2300; fixed several warnings

This commit is contained in:
Vadim Pisarevsky committed 2012-08-28 13:45:35 +04:00
1 parent 95d54196db
commit 0bd68a70f1
12 files changed
+27 -22

No files matched your search

+1 -1
View File
@@ -861,7 +861,7 @@ cvCreateData( CvArr* arr )
if( CV_IS_MAT_CONT( mat->type ))
{
total_size = (size_t)mat->dim[0].size*(mat->dim[0].step != 0 ?
mat->dim[0].step : total_size);
(size_t)mat->dim[0].step : total_size);
}
else
{