chiark / gitweb /
STRV_FOREACH_BACWARDS: start at the tail of the list
[elogind.git] / src / libsystemd-bus / bus-util.c
index c72610466dc4e9d1cd4b37e88042ba1174b2e929..42374fe16c201d5fa2388296b0c4d0b134cd53eb 100644 (file)
@@ -148,7 +148,7 @@ int bus_verify_polkit(
 #ifdef ENABLE_POLKIT
         else {
                 _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
-                bool authorized = false, challenge = false;
+                unsigned authorized = false, challenge = false;
 
                 r = sd_bus_call_method(
                                 bus,
@@ -267,7 +267,7 @@ int bus_verify_polkit_async(
 #ifdef ENABLE_POLKIT
         q = hashmap_remove(*registry, m);
         if (q) {
-                bool authorized, challenge;
+                unsigned authorized, challenge;
 
                 /* This is the second invocation of this function, and
                  * there's already a response from polkit, let's