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

Foolish mistake.

This commit is contained in:
robocop 2009-06-07 12:54:57 +00:00
parent c04357e7fa
commit c94f8ea1e2

View File

@ -2608,7 +2608,7 @@ UCHAR* ISC_map_object(ISC_STATUS* status_vector,
// Compute the start and end page-aligned offsets which
// contain the object being mapped.
const ULONG const start = (object_offset / page_size) * page_size;
const ULONG start = (object_offset / page_size) * page_size;
const ULONG end = FB_ALIGN(object_offset + object_length, page_size);
const ULONG length = end - start;
const HANDLE handle = shmem_data->sh_mem_object;