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

Mirror the recent Alex's change for Windows. It doesn't seem being strictly required, but let's be safe.

This commit is contained in:
dimitr 2010-07-13 07:05:30 +00:00
parent 2f1c61f387
commit 5e88ca725b

View File

@ -2394,7 +2394,7 @@ void SharedMemoryBase::unmapObject(Arg::StatusVector& statusVector,
**************************************/
SYSTEM_INFO sys_info;
GetSystemInfo(&sys_info);
const ULONG page_size = sys_info.dwAllocationGranularity;
const size_t page_size = sys_info.dwAllocationGranularity;
// Compute the start and end page-aligned offsets which
// contain the object being mapped.