Commit 02902965 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

polkit: fix type on comparison

parent 7361c3b4
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment