Use () for a macro argument 82/117982/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 8 Mar 2017 08:04:59 +0000 (17:04 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 8 Mar 2017 08:04:59 +0000 (17:04 +0900)
Change-Id: I3908e6fe6b4fe10891aaada7f48cf3ed8a3c9eb3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/ContextErrorUtil.h

index 9d65226..c048a27 100644 (file)
@@ -20,7 +20,7 @@
 #include <ContextTypes.h>
 
 #define CTX_ERROR_DOMAIN       (ctx::dbusErrorQuark())
-#define CTX_ERROR_STR(X)       (ctx::getErrorString(X))
+#define CTX_ERROR_STR(X)       (ctx::getErrorString((X)))
 
 namespace ctx {
        const char* getErrorString(int error);