From: TimePath Date: Wed, 25 Apr 2018 12:33:30 +0000 (+0000) Subject: Macro safety: fix `pow(a, b)` X-Git-Tag: xonotic-v0.8.5~2177 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fab62a235a0f0d4ac109cc93d11e294b49ee0f4c;p=xonotic%2Fxonotic-data.pk3dir.git Macro safety: fix `pow(a, b)` --- 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"