diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-05 13:55:09 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-12 10:21:50 +0100 |
commit | bc643f81a5d329d0109ab9c3b79a8ebadfb1c4e8 (patch) | |
tree | 2b252e14b5f292589282a78afda314c1c84b6a68 /test/dbus-daemon.c | |
parent | 0b9e2b8b490161236c4b16afbd17fdb7243dcb9b (diff) | |
download | dbus-bc643f81a5d329d0109ab9c3b79a8ebadfb1c4e8.tar.gz |
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 <walters@verbum.org>
Diffstat (limited to 'test/dbus-daemon.c')
-rw-r--r-- | 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 ed10d098..e192c68f 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -34,6 +34,7 @@ #include <string.h> #ifdef DBUS_WIN +# include <io.h> # include <windows.h> #else # include <signal.h> @@ -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; |