summaryrefslogtreecommitdiff
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-13 01:03:29 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-13 01:03:29 +0000
commit603f0bf0d9bfffaca599687d9a142112a9d4eee7 (patch)
treee6ae44eb119df93080cc904882881ad397def240 /src/dbusbind.c
parent0cd16af4322df5df1fffe48931892f7d92a43f01 (diff)
(dbus-method-return-internal, dbus-method-error-internal): Use long format in printf, and cast argument.
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index d0233fdab4..f4a5c6887d 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -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);