8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Fixed XNET in Win64 builds.

This commit is contained in:
dimitr 2006-11-20 07:31:30 +00:00
parent e6f89c240b
commit ce77a882c4

View File

@ -2173,7 +2173,7 @@ static bool make_map(ULONG map_number,
make_map_name(name_buffer, sizeof(name_buffer), XNET_MAPPED_FILE_NAME,
map_number, (ULONG) timestamp);
*map_handle = CreateFileMapping((HANDLE) 0xFFFFFFFF,
*map_handle = CreateFileMapping(INVALID_HANDLE_VALUE,
ISC_get_security_desc(),
PAGE_READWRITE,
0L,
@ -2301,7 +2301,7 @@ static bool server_init()
}
make_obj_name(name_buffer, sizeof(name_buffer), XNET_CONNECT_MAP);
xnet_connect_map_h = CreateFileMapping((HANDLE)0xFFFFFFFF,
xnet_connect_map_h = CreateFileMapping(INVALID_HANDLE_VALUE,
ISC_get_security_desc(),
PAGE_READWRITE,
0,