mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 16:30:18 +01:00
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:
parent
0b9e2b8b49
commit
bc643f81a5
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue