Fix x64 build warnings

This commit is contained in:
Andrey Kamaev
2013-02-25 11:08:27 +04:00
parent 2a6fb2867e
commit d586f4a103
10 changed files with 35 additions and 29 deletions
+2 -2
View File
@@ -148,9 +148,9 @@ void cv::watershed( InputArray _src, InputOutputArray _markers )
CV_Assert( src.size() == dst.size() );
const uchar* img = src.data;
int istep = src.step/sizeof(img[0]);
int istep = int(src.step/sizeof(img[0]));
int* mask = dst.ptr<int>();
int mstep = dst.step / sizeof(mask[0]);
int mstep = int(dst.step / sizeof(mask[0]));
for( i = 0; i < 256; i++ )
subs_tab[i] = 0;