From bc643f81a5d329d0109ab9c3b79a8ebadfb1c4e8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 5 Aug 2011 13:55:09 +0100 Subject: [PATCH] Fix compiler warnings when cross-compiling dbus-daemon test for mingw32 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40003 Reviewed-by: Colin Walters --- test/dbus-daemon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index ed10d0989..e192c68fa 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -34,6 +34,7 @@ #include #ifdef DBUS_WIN +# include # include #else # include @@ -44,7 +45,7 @@ typedef struct { DBusError e; GError *ge; - gint daemon_pid; + GPid daemon_pid; DBusConnection *left_conn; @@ -66,7 +67,7 @@ _assert_no_error (const DBusError *e, static gchar * spawn_dbus_daemon (gchar *binary, gchar *configuration, - gint *daemon_pid) + GPid *daemon_pid) { GError *error = NULL; GString *address; -- 2.47.3