From 5113a8d668acb9d1f1419e0c4a6686865c149640 Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Fri, 9 Jul 2010 11:15:44 +0000 Subject: [PATCH] Backported fix for CORE-3067: Objects not unmapped when shared memory is closed --- src/jrd/isc_sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/isc_sync.cpp b/src/jrd/isc_sync.cpp index 1b6c7b34ca..ee3fb77994 100644 --- a/src/jrd/isc_sync.cpp +++ b/src/jrd/isc_sync.cpp @@ -2312,7 +2312,7 @@ void ISC_unmap_object(ISC_STATUS* status_vector, return; } #endif - const ULONG page_size = (ULONG) ps; + const size_t page_size = (ULONG) ps; /* Compute the start and end page-aligned addresses which contain the mapped object. */