sd-bus: fix handling of double parameters in sd_bus_message_append()
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 00:13:09 +0000 (01:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 00:17:55 +0000 (01:17 +0100)
commit6cd37a5e59e01f4a2b3f02d9746b3e7417d424e6
treefd888d2fe6a3c446854f44a405c4cb3720afb74e
parente026c242af5b724da53e4944aab2645547644cf7
sd-bus: fix handling of double parameters in sd_bus_message_append()

We really need to use va_arg() with the right type here as uint64_t and
double might have the same size, but are passed differently as
arguments.
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/test-bus-marshal.c