diff options
author | Karel Zak | 2011-08-01 16:23:53 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-01 16:23:53 +0200 |
commit | 85d7a416f1a16636cc4805ff41e88189c17cc5b2 (patch) | |
tree | 18ba58d83a437ff7807a3eb04860dc7ce1b20236 | |
parent | chsh: fix compiler warnings [-Wsign-compare] (diff) | |
download | kernel-qcow2-util-linux-85d7a416f1a16636cc4805ff41e88189c17cc5b2.tar.gz kernel-qcow2-util-linux-85d7a416f1a16636cc4805ff41e88189c17cc5b2.tar.xz kernel-qcow2-util-linux-85d7a416f1a16636cc4805ff41e88189c17cc5b2.zip |
chrt: [selinux] fix compiler warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | login-utils/selinux_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/selinux_utils.c b/login-utils/selinux_utils.c index 2db5dd3d0..caceaf4fd 100644 --- a/login-utils/selinux_utils.c +++ b/login-utils/selinux_utils.c @@ -25,7 +25,7 @@ int checkAccess(char *chuser, int access) { &avd); if ((retval == 0) && - ((access & avd.allowed) == access)) { + ((access & avd.allowed) == (unsigned) access)) { status=0; } } |