From: short <> Date: Wed, 13 Aug 2003 10:46:05 +0000 (+0000) Subject: Replaced all 'FileSize' sanity checks for more relaxed 'AllocationSize' checks. X-Git-Tag: bp_captive~65 X-Git-Url: http://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=1a0b35a92c72fe70922fbeb4e166d428b99e01ca Replaced all 'FileSize' sanity checks for more relaxed 'AllocationSize' checks. --- diff --git a/src/libcaptive/cc/privatebcbpin.c b/src/libcaptive/cc/privatebcbpin.c index e9d21d2..ddd7823 100644 --- a/src/libcaptive/cc/privatebcbpin.c +++ b/src/libcaptive/cc/privatebcbpin.c @@ -161,7 +161,7 @@ guint64 start,end; end =captive_private_bcb_pin_object->offset+PAGE_SIZE; g_assert(end<=CAPTIVE_ROUND_UP64( - CAPTIVE_PRIVATE_BCB_OBJECT(captive_private_bcb_pin_object)->SharedCacheMap->FileSize,PAGE_SIZE)); + CAPTIVE_PRIVATE_BCB_OBJECT(captive_private_bcb_pin_object)->SharedCacheMap->AllocationSize,PAGE_SIZE)); } static void captive_private_bcb_pin_object_FileSizes_changed(CaptiveSharedCacheMapObject *captive_shared_cache_map_object,