summaryrefslogtreecommitdiff
path: root/src/dbus-manager.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-08-17 19:38:07 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-08-17 19:38:07 +0200
commite191553d1dc80cd6d65d05f0cb29f8967fab6983 (patch)
treeabe58b84c6eb7efd60e6f69c164b2d6979abfaf2 /src/dbus-manager.c
parenta63599edcca136554f6794870214fba495324ec4 (diff)
convert int to boolean for dbus_bool_t
Diffstat (limited to 'src/dbus-manager.c')
-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;
}