From bc02680c698554b59d42b5c32b0cc65b06c8f70e Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 19 Aug 2013 21:29:18 +0200 Subject: [PATCH] Fixed compiler warning on windows. https://bugs.freedesktop.org/show_bug.cgi?id=61874 Reviewed-by: Simon McVittie --- tools/dbus-launch-win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/dbus-launch-win.c b/tools/dbus-launch-win.c index 215fac3f..d899010a 100644 --- a/tools/dbus-launch-win.c +++ b/tools/dbus-launch-win.c @@ -159,8 +159,8 @@ main (int argc, char **argv) if (result == 0) { if (verbose) - fprintf (stderr, "Could not start " DBUS_DAEMON_NAME ". error=%d\n", - GetLastError ()); + fprintf (stderr, "Could not start " DBUS_DAEMON_NAME ". error=%u\n", + (unsigned)GetLastError ()); return 4; }