mapstep type was also changed to ptrdiff_t (ticket #157)
authorVadim Pisarevsky <no@email>
Mon, 15 Nov 2010 20:59:09 +0000 (20:59 +0000)
committerVadim Pisarevsky <no@email>
Mon, 15 Nov 2010 20:59:09 +0000 (20:59 +0000)
modules/imgproc/src/canny.cpp

index 64d7b10..49ed796 100644 (file)
@@ -57,7 +57,8 @@ CV_IMPL void cvCanny( const void* srcarr, void* dstarr,
     int low, high;
     int* mag_buf[3];
     uchar* map;
-    int mapstep, maxsize;
+    ptrdiff_t mapstep;
+    int maxsize;
     int i, j;
     CvMat mag_row;