From: Tom Yu Date: Thu, 15 Aug 1996 21:12:54 +0000 (+0000) Subject: * scc_retrv.c: Fix def'n of flags_match to be properly X-Git-Tag: krb5-1.0-beta7~139 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3256397d1e07c72562ef55aea2ff466739702ed0;p=krb5.git * scc_retrv.c: Fix def'n of flags_match to be properly parenthesized (noticed by -Wall) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8943 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * 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 * 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)