From fab62a235a0f0d4ac109cc93d11e294b49ee0f4c Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 25 Apr 2018 12:33:30 +0000 Subject: [PATCH] Macro safety: fix `pow(a, b)` --- qcsrc/lib/_all.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/lib/_all.inc b/qcsrc/lib/_all.inc index d45dc208e..addced2b3 100644 --- a/qcsrc/lib/_all.inc +++ b/qcsrc/lib/_all.inc @@ -64,7 +64,7 @@ #ifndef QCC_SUPPORT_POW #define pow(a, b) pow(a, b) #else - #define pow(a, b) (a ** b) + #define pow(a, b) ((a) ** (b)) #endif #include "self.qh" -- 2.39.2