diff options
author | Kay Sievers <kay@vrfy.org> | 2013-11-07 02:03:10 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-11-07 02:05:57 +0100 |
commit | 102d8f8169427cb68cdebf5ee0f0e07788e9c2b2 (patch) | |
tree | 37c502ff4285790da20ab9c8d550aed8daceb05b /src/libsystemd-bus/bus-util.c | |
parent | ba341e7c3c18e81a6faa58883e178a60af317a40 (diff) |
consistently use "int" when retrieving "bool" from bus messages
Diffstat (limited to 'src/libsystemd-bus/bus-util.c')
-rw-r--r-- | src/libsystemd-bus/bus-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bus/bus-util.c index 3bb1fb724d..13ad4442ba 100644 --- a/src/libsystemd-bus/bus-util.c +++ b/src/libsystemd-bus/bus-util.c @@ -151,7 +151,7 @@ int bus_verify_polkit( #ifdef ENABLE_POLKIT else { _cleanup_bus_message_unref_ sd_bus_message *reply = NULL; - unsigned authorized = false, challenge = false; + int authorized = false, challenge = false; r = sd_bus_call_method( bus, @@ -270,7 +270,7 @@ int bus_verify_polkit_async( #ifdef ENABLE_POLKIT q = hashmap_remove(*registry, m); if (q) { - unsigned authorized, challenge; + int authorized, challenge; /* This is the second invocation of this function, and * there's already a response from polkit, let's |