diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-14 22:14:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-14 22:21:16 +0100 |
commit | 02902965822816ec6fcc8a07d008802f17ca1e34 (patch) | |
tree | 6e78016d360a9f29dd8a2275b5f3f90978351144 /src | |
parent | 7361c3b4e1e28a7eb4354a3da354b22e79782141 (diff) |
polkit: fix type on comparison
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/polkit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/polkit.c b/src/shared/polkit.c index 9ed6ff2717..126096e64f 100644 --- a/src/shared/polkit.c +++ b/src/shared/polkit.c @@ -56,7 +56,7 @@ int verify_polkit( return -EINVAL; ul = dbus_bus_get_unix_user(c, sender, error); - if (ul == (unsigned) -1) + if (ul == (unsigned long) -1) return -EINVAL; /* Shortcut things for root, to avoid the PK roundtrip and dependency */ |