diff options
Diffstat (limited to 'src/dbus-common.c')
-rw-r--r-- | src/dbus-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus-common.c b/src/dbus-common.c index fe7f84b119..9bf0dabe4c 100644 --- a/src/dbus-common.c +++ b/src/dbus-common.c @@ -569,15 +569,15 @@ int bus_property_append_ul(DBusMessageIter *i, const char *property, void *data) } int bus_property_append_long(DBusMessageIter *i, const char *property, void *data) { - uint64_t u; + int64_t l; assert(i); assert(property); assert(data); - u = (int64_t) *(long*) data; + l = (int64_t) *(long*) data; - if (!dbus_message_iter_append_basic(i, DBUS_TYPE_INT64, &u)) + if (!dbus_message_iter_append_basic(i, DBUS_TYPE_INT64, &l)) return -ENOMEM; return 0; |