* scc_retrv.c: Fix def'n of flags_match to be properly
authorTom Yu <tlyu@mit.edu>
Thu, 15 Aug 1996 21:12:54 +0000 (21:12 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 15 Aug 1996 21:12:54 +0000 (21:12 +0000)
parenthesized (noticed by -Wall)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8943 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/stdio/ChangeLog
src/lib/krb5/ccache/stdio/scc_retrv.c

index 565e694290d367315b03f94afc216e840e750cb1..7ab2c2f93ce6af9b125da879f2a4e356aa91cfec 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 15 16:44:32 1996  Tom Yu  <tlyu@mit.edu>
+
+       * scc_retrv.c: Fix def'n of flags_match to be properly
+               parenthesized (noticed by -Wall)
+
 Mon Jun 10 21:46:06 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * scc_read.c:
index 9b91a685e775521fe7ab1fea80fc7be98050326e..7498d906e12c2412ce9e4c9200e9555f750ad2d0 100644 (file)
@@ -27,7 +27,7 @@
 #include "scc.h"
 
 #define set(bits) (whichfields & bits)
-#define flags_match(a,b) (a & b == a)
+#define flags_match(a,b) (((a) & (b)) == (a))
 
 static krb5_boolean
 times_match(t1, t2)