polkit: fix type on comparison

This commit is contained in:
Lennart Poettering 2012-11-14 22:14:53 +01:00
parent 7361c3b4e1
commit 0290296582
1 changed files with 1 additions and 1 deletions

View File

@ -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 */