Mercurial > octave
changeset 17429:84d195e050fd
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).
author | Jens Restemeier <jens.restemeier@gmail.com> |
---|---|
date | Mon, 16 Sep 2013 20:59:57 -0700 |
parents | 9304514b566c |
children | 366a51191fd7 |
files | libinterp/corefcn/mex.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/mex.cc Mon Sep 16 15:45:45 2013 -0700 +++ b/libinterp/corefcn/mex.cc Mon Sep 16 20:59:57 2013 -0700 @@ -1164,7 +1164,7 @@ switch (get_class_id ()) { case mxLOGICAL_CLASS: - retval = int_to_ov<bool, boolNDArray, bool> (dv); + retval = int_to_ov<mxLogical, boolNDArray, bool> (dv); break; case mxCHAR_CLASS: