summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c
index ae88895c74..cfc2afc9f3 100644
--- a/src/dbus-manager.c
+++ b/src/dbus-manager.c
@@ -444,7 +444,7 @@ static DBusMessage *message_from_file_changes(
if (carries_install_info >= 0) {
dbus_bool_t b;
- b = carries_install_info;
+ b = !!carries_install_info;
if (!dbus_message_iter_append_basic(&iter, DBUS_TYPE_BOOLEAN, &b))
goto oom;
}