From f3d4e40e5cfb79ce4213b055ffa690cce9aeca20 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 30 Jun 2007 11:29:17 +0000 Subject: * dbus/dbus-sysdeps-win.c (_dbus_daemon_init): reduced compiler warnings --- dbus/dbus-sysdeps-win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 2e95f9b1..5efe2b51 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -5241,10 +5241,10 @@ _dbus_daemon_init(const char *host, dbus_uint32_t port) _dbus_assert( adr ); - strcpy(adr, szAddress); + strcpy( (char*) adr, szAddress); // cleanup - UnmapViewOfFile( adr ); + UnmapViewOfFile( (char*) adr ); _dbus_global_unlock( lock ); } @@ -5305,7 +5305,7 @@ _dbus_get_autolaunch_shm(DBusString *adress) _dbus_string_append( adress, adr ); // cleanup - UnmapViewOfFile( adr ); + UnmapViewOfFile( (char*) adr ); CloseHandle( sharedMem ); -- cgit