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>
This commit is contained in:
Simon McVittie 2011-08-05 13:55:09 +01:00
parent 0b9e2b8b49
commit bc643f81a5

View file

@ -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;