# HG changeset patch # User Jens Restemeier # Date 1379390397 25200 # Node ID 84d195e050fd632fc15bddf2fae08d9855a340ce # Parent 9304514b566c3c7adee09173a8fb41b8adb6e20f mex.cc: Call ov_to_int with mxLogical argument for platform portability (bug #40027). * libinterp/corefcn/mex.cc(as_octave_value): Call ov_to_int macro with mxLogical argument for platform portability (bug #40027). diff --git a/libinterp/corefcn/mex.cc b/libinterp/corefcn/mex.cc --- a/libinterp/corefcn/mex.cc +++ b/libinterp/corefcn/mex.cc @@ -1164,7 +1164,7 @@ switch (get_class_id ()) { case mxLOGICAL_CLASS: - retval = int_to_ov (dv); + retval = int_to_ov (dv); break; case mxCHAR_CLASS: