* dbus/dbus-sysdeps-win.c (_dbus_daemon_init): reduced compiler warnings

This commit is contained in:
Ralf Habacker 2007-06-30 11:29:17 +00:00
parent f1cb3ee0e7
commit f3d4e40e5c
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2007-06-30 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-sysdeps-win.c (_dbus_daemon_init): reduced compiler warnings
2007-06-23 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-auth-script.c (_dbus_auth_script_run): added UNIX_ONLY and

View file

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