summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/stdio/ChangeLog5
-rw-r--r--src/lib/krb5/ccache/stdio/scc_retrv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog
index 565e69429..7ab2c2f93 100644
--- a/src/lib/krb5/ccache/stdio/ChangeLog
+++ b/src/lib/krb5/ccache/stdio/ChangeLog
@@ -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:
diff --git a/src/lib/krb5/ccache/stdio/scc_retrv.c b/src/lib/krb5/ccache/stdio/scc_retrv.c
index 9b91a685e..7498d906e 100644
--- a/src/lib/krb5/ccache/stdio/scc_retrv.c
+++ b/src/lib/krb5/ccache/stdio/scc_retrv.c
@@ -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)