# HG changeset patch # User Kai T. Ohlhus # Date 1484348501 -3600 # Node ID d8d0e600cbc4ea5633a379255d2070fffd5d01c6 # Parent 28668bfd5b6391432dbd1ad666ae2b7f5bea3568# Parent 0412dc701e28fb1dae76bb6369e825a34ad1caad maint: merge stable to default. diff -r 28668bfd5b63 -r d8d0e600cbc4 libinterp/corefcn/mexproto.h --- a/libinterp/corefcn/mexproto.h Fri Jan 13 09:16:51 2017 -0800 +++ b/libinterp/corefcn/mexproto.h Sat Jan 14 00:01:41 2017 +0100 @@ -308,7 +308,7 @@ # define mxAssert(expr, msg) \ do \ { \ - if (! expr) \ + if (! (expr)) \ { \ if (msg != NULL && msg[0] != '\0') \ mexErrMsgIdAndTxt ("Octave:MEX", \ @@ -325,7 +325,7 @@ # define mxAssertS(expr, msg) \ do \ { \ - if (! expr) \ + if (! (expr)) \ { \ if (msg != NULL && msg[0] != '\0') \ mexErrMsgIdAndTxt ("Octave:MEX", \ @@ -349,4 +349,3 @@ #endif #endif -