Mercurial > emacs
changeset 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 | 5d7b16939e28 |
children | 9e1a1361da63 |
files | src/dbusbind.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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);