]> git.eshelyaron.com Git - emacs.git/commitdiff
(dbus-method-return-internal, dbus-method-error-internal): Use long format in printf...
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Tue, 13 Oct 2009 01:03:29 +0000 (01:03 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Tue, 13 Oct 2009 01:03:29 +0000 (01:03 +0000)
src/dbusbind.c

index d0233fdab435cfa9ff521172ee2119bc30c75aee..f4a5c6887d8fe5d187e4e999fed6af07b81f2a1f 100644 (file)
@@ -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);