imgproc: fixup leftovers of int->int64_t conversion
This commit is contained in:
parent
db53f4533e
commit
f8597fc150
@ -1040,7 +1040,7 @@ EllipseEx( Mat& img, Point2l center, Size2l axes,
|
|||||||
* Polygons filling *
|
* Polygons filling *
|
||||||
\****************************************************************************************/
|
\****************************************************************************************/
|
||||||
|
|
||||||
static inline void ICV_HLINE_X(uchar* ptr, int xl, int xr, const uchar* color, int pix_size)
|
static inline void ICV_HLINE_X(uchar* ptr, int64_t xl, int64_t xr, const uchar* color, int pix_size)
|
||||||
{
|
{
|
||||||
uchar* hline_min_ptr = (uchar*)(ptr) + (xl)*(pix_size);
|
uchar* hline_min_ptr = (uchar*)(ptr) + (xl)*(pix_size);
|
||||||
uchar* hline_end_ptr = (uchar*)(ptr) + (xr+1)*(pix_size);
|
uchar* hline_end_ptr = (uchar*)(ptr) + (xr+1)*(pix_size);
|
||||||
@ -1065,7 +1065,7 @@ static inline void ICV_HLINE_X(uchar* ptr, int xl, int xr, const uchar* color, i
|
|||||||
}
|
}
|
||||||
//end ICV_HLINE_X()
|
//end ICV_HLINE_X()
|
||||||
|
|
||||||
static inline void ICV_HLINE(uchar* ptr, int xl, int xr, const void* color, int pix_size)
|
static inline void ICV_HLINE(uchar* ptr, int64_t xl, int64_t xr, const void* color, int pix_size)
|
||||||
{
|
{
|
||||||
ICV_HLINE_X(ptr, xl, xr, reinterpret_cast<const uchar*>(color), pix_size);
|
ICV_HLINE_X(ptr, xl, xr, reinterpret_cast<const uchar*>(color), pix_size);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user