# HG changeset patch # User Adrian Robert # Date 1255395809 0 # Node ID 474fc7c0fe884a05530e3a686a75ec4a6dad053a # Parent 5d7b16939e28d66beb444db845b400b188715bfa (dbus-method-return-internal, dbus-method-error-internal): Use long format in printf, and cast argument. diff -r 5d7b16939e28 -r 474fc7c0fe88 src/dbusbind.c --- 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);