Add a missing parenthesis, lack of which might throw surprises
authorPavan Deolasee <[email protected]>
Wed, 6 Jul 2016 10:20:21 +0000 (15:50 +0530)
committerPavan Deolasee <[email protected]>
Wed, 6 Jul 2016 10:20:21 +0000 (15:50 +0530)
src/include/gtm/gtm_c.h

index 2efe7e20c94f003485f9719aaf2604036071b52a..8918cf2b244b12ad3ca3271870bc0f722dc0f98e 100644 (file)
@@ -146,7 +146,7 @@ typedef enum GTM_PortLastCall
  */
 #define InitialGXIDValue_Default               ((GlobalTransactionId) 10000)
 
-#define GlobalTransactionIdIsValid(gxid) ((GlobalTransactionId) (gxid)) != InvalidGlobalTransactionId
+#define GlobalTransactionIdIsValid(gxid) (((GlobalTransactionId) (gxid)) != InvalidGlobalTransactionId)
 
 #define _(x) gettext(x)