summaryrefslogtreecommitdiff
path: root/src/utils/checkutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
commit5400a3120742494281f6cce43545657432a08f25 (patch)
treebe843b338f34ef2d6d474121031a7b57f82f677b /src/utils/checkutils.h
parentecae89e342fc07daa816fe7de133968a51745040 (diff)
downloadmv-5400a3120742494281f6cce43545657432a08f25.tar.gz
mv-5400a3120742494281f6cce43545657432a08f25.tar.bz2
mv-5400a3120742494281f6cce43545657432a08f25.tar.xz
mv-5400a3120742494281f6cce43545657432a08f25.zip
Add some missing brackets in macroses.
Diffstat (limited to 'src/utils/checkutils.h')
-rw-r--r--src/utils/checkutils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h
index d0d74248b..567555f89 100644
--- a/src/utils/checkutils.h
+++ b/src/utils/checkutils.h
@@ -182,7 +182,7 @@ void reportStack();
}
#define returnFalseVReal(val) \
- if (!val) \
+ if (!(val)) \
return;
#define returnTrueVReal(val) \
@@ -190,7 +190,7 @@ void reportStack();
return;
#define returnFalseReal(ret, val) \
- if (!val) \
+ if (!(val)) \
return ret;
#define returnTrueReal(ret, val) \
@@ -209,7 +209,7 @@ void reportStack();
#define failTrue(val) (val)
#define returnFailFalseV(val) \
- if (!val) \
+ if (!(val)) \
return;
#define returnFailTrueV(val) \
@@ -217,7 +217,7 @@ void reportStack();
return;
#define returnFailFalse(ret, val) \
- if (!val) \
+ if (!(val)) \
return ret;
#define returnFailTrue(ret, val) \