Changeset: 677ffc5f7d56 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=677ffc5f7d56 Modified Files: gdk/gdk_atoms.h Branch: Apr2019 Log Message:
Properly parenthesize parameter. diffs (12 lines): diff --git a/gdk/gdk_atoms.h b/gdk/gdk_atoms.h --- a/gdk/gdk_atoms.h +++ b/gdk/gdk_atoms.h @@ -203,7 +203,7 @@ gdk_export const ptr ptr_nil; #define ATOMdel(t,hp,src) do if (BATatoms[t].atomDel) BATatoms[t].atomDel(hp,src); while (0) #define ATOMvarsized(t) (BATatoms[t].atomPut != NULL) #define ATOMlinear(t) BATatoms[t].linear -#define ATOMtype(t) ((t == TYPE_void)?TYPE_oid:t) +#define ATOMtype(t) ((t) == TYPE_void ? TYPE_oid : (t)) #define ATOMfix(t,v) do if (BATatoms[t].atomFix) BATatoms[t].atomFix(v); while (0) #define ATOMunfix(t,v) do if (BATatoms[t].atomUnfix) BATatoms[t].atomUnfix(v); while (0) _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
