Commit 5c17c93f authored by Davis King's avatar Davis King

Minor change to avoid compiler warnings

parent ecc00ce7
......@@ -897,7 +897,7 @@ namespace mex_binding
}
else if (is_same_type<dlib::rgb_pixel, type>::value)
{
mwSize dims[3] = {(unsigned long)item.nr(), (unsigned long)item.nc(), 3};
mwSize dims[3] = {(mwSize)item.nr(), (mwSize)item.nc(), 3};
plhs = mxCreateNumericArray(3, dims, mxUINT8_CLASS, mxREAL);
assign_image_to_matlab((dlib::uint8*)mxGetData(plhs), item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment