From: Ralf Habacker Date: Mon, 19 Aug 2013 19:29:18 +0000 (+0200) Subject: Fixed compiler warning on windows. X-Git-Tag: dbus-1.7.6~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc02680c698554b59d42b5c32b0cc65b06c8f70e;p=thirdparty%2Fdbus.git Fixed compiler warning on windows. https://bugs.freedesktop.org/show_bug.cgi?id=61874 Reviewed-by: Simon McVittie --- diff --git a/tools/dbus-launch-win.c b/tools/dbus-launch-win.c index 215fac3f4..d899010a5 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; }