summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2013-08-19 21:29:18 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2013-08-19 21:29:26 +0200
commitbc02680c698554b59d42b5c32b0cc65b06c8f70e (patch)
tree65e4cc8811a60adff082f9967f369bcc4d4170d4
parent006c5750b374851685cd80ccc5d71375203236fa (diff)
Fixed compiler warning on windows.
https://bugs.freedesktop.org/show_bug.cgi?id=61874 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--tools/dbus-launch-win.c4
1 files 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;
}