"git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "7b293d9b5638b2b082185bb216fcf495eb4bd7bd"
Commit 60d282a4 authored by Davis King's avatar Davis King
Browse files

Minor change to avoid compiler warning

parent 7b67bd2f
...@@ -897,7 +897,7 @@ namespace mex_binding ...@@ -897,7 +897,7 @@ namespace mex_binding
} }
else if (is_same_type<dlib::rgb_pixel, type>::value) 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); plhs = mxCreateNumericArray(3, dims, mxUINT8_CLASS, mxREAL);
assign_image_to_matlab((dlib::uint8*)mxGetData(plhs), item); 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