From a2c0cb8ac950f22247202e57f425f17afe980004 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 5 Aug 2011 13:55:09 +0100 Subject: [PATCH 2/3] Fix compiler warnings when cross-compiling dbus-daemon test for mingw32 --- test/dbus-daemon.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index eaacb87..cc87153 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -34,6 +34,7 @@ #include #ifdef DBUS_WIN +# include # include #else # include @@ -46,7 +47,7 @@ typedef struct { DBusError e; GError *ge; - gint daemon_pid; + GPid daemon_pid; DBusConnection *left_conn; @@ -68,7 +69,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; -- 1.7.5.4