mirror of
https://github.com/opencv/opencv.git
synced 2024-11-23 18:50:21 +08:00
fixed warning
This commit is contained in:
parent
fedf830498
commit
5c15ea6ba2
@ -13,7 +13,7 @@ GpuMatND::GpuMatND(SizeArray _size, int _type, void* _data, StepArray _step) :
|
||||
flags(0), dims(0), data(static_cast<uchar*>(_data)), offset(0)
|
||||
{
|
||||
CV_Assert(_step.empty() || _size.size() == _step.size() + 1 ||
|
||||
(_size.size() == _step.size() && _step.back() == CV_ELEM_SIZE(_type)));
|
||||
(_size.size() == _step.size() && _step.back() == (size_t)CV_ELEM_SIZE(_type)));
|
||||
|
||||
setFields(std::move(_size), _type, std::move(_step));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user