Commit 603f0bf0 authored by Adrian Robert's avatar Adrian Robert
Browse files

(dbus-method-return-internal, dbus-method-error-internal): Use long format in...

(dbus-method-return-internal, dbus-method-error-internal): Use long format in printf, and cast argument.
parent 0cd16af4
......@@ -1247,7 +1247,7 @@ usage: (dbus-method-return-internal BUS SERIAL SERVICE &rest ARGS) */)
CHECK_STRING (service);
GCPRO3 (bus, serial, service);
XD_DEBUG_MESSAGE ("%d %s ", XUINT (serial), SDATA (service));
XD_DEBUG_MESSAGE ("%lu %s ", (unsigned long) XUINT (serial), SDATA (service));
/* Open a connection to the bus. */
connection = xd_initialize (bus);
......@@ -1341,7 +1341,7 @@ usage: (dbus-method-error-internal BUS SERIAL SERVICE &rest ARGS) */)
CHECK_STRING (service);
GCPRO3 (bus, serial, service);
XD_DEBUG_MESSAGE ("%d %s ", XUINT (serial), SDATA (service));
XD_DEBUG_MESSAGE ("%lu %s ", (unsigned long) XUINT (serial), SDATA (service));
/* Open a connection to the bus. */
connection = xd_initialize (bus);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment