mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Fixed Mat::isContinuous for big matrix (thanks to Boris Mansencal) #2103
This commit is contained in:
parent
15e50420bc
commit
f09ae32796
@ -151,7 +151,7 @@ static void updateContinuityFlag(Mat& m)
|
||||
}
|
||||
|
||||
int64 t = (int64)m.step[0]*m.size[0];
|
||||
if( j <= i && t == (int)t )
|
||||
if( j <= i && t == (size_t)t )
|
||||
m.flags |= Mat::CONTINUOUS_FLAG;
|
||||
else
|
||||
m.flags &= ~Mat::CONTINUOUS_FLAG;
|
||||
|
Loading…
Reference in New Issue
Block a user