make comparison correct. (== has higher precedence than &)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8941
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Aug 15 16:46:00 1996 Tom Yu <tlyu@mit.edu>
+
+ * fcc_retrv.c (flags_match): Add parens to def'n of flags_match to
+ make comparison correct. (== has higher precedence than &)
+
Wed Jun 12 01:04:27 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
#endif
#define set(bits) (whichfields & bits)
-#define flags_match(a,b) (a & b == a)
+#define flags_match(a,b) (((a) & (b)) == (a))
#define times_match_exact(t1,t2) (memcmp((char *)(t1), (char *)(t2), sizeof(*(t1))) == 0)
static krb5_boolean times_match PROTOTYPE((const krb5_ticket_times *,