diff src/dbusbind.c @ 105575:474fc7c0fe88

(dbus-method-return-internal, dbus-method-error-internal): Use long format in printf, and cast argument.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Tue, 13 Oct 2009 01:03:29 +0000
parents 109ea433850d
children 68dd71358159
line wrap: on
line diff
--- a/src/dbusbind.c	Mon Oct 12 21:04:15 2009 +0000
+++ b/src/dbusbind.c	Tue Oct 13 01:03:29 2009 +0000
@@ -1247,7 +1247,7 @@
   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 @@
   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);