Mercurial > octave-nkf
diff libinterp/corefcn/mex.cc @ 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 | 68fc671a9339 |
children | d63878346099 |
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: