Fixed compiler warning on windows.
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 19 Aug 2013 19:29:18 +0000 (21:29 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 19 Aug 2013 19:29:26 +0000 (21:29 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=61874
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
tools/dbus-launch-win.c

index 215fac3..d899010 100644 (file)
@@ -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;
     }