mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-14 07:50:19 +01:00
* dbus/dbus-sysdeps-win.c (_dbus_daemon_init): reduced compiler warnings
This commit is contained in:
parent
f1cb3ee0e7
commit
f3d4e40e5c
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue