Commit 60d282a4 authored by Davis King's avatar Davis King

Minor change to avoid compiler warning

parent 7b67bd2f
......@@ -897,7 +897,7 @@ namespace mex_binding
}
else if (is_same_type<dlib::rgb_pixel, type>::value)
{
mwSize dims[3] = {item.nr(), item.nc(), 3};
mwSize dims[3] = {(unsigned long)item.nr(), (unsigned long)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