From 10e7434d3271b0d13a38a4832106afcaca55d721 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Wed, 5 Apr 2006 02:54:14 +0000 Subject: [PATCH] corrected slottedFrespace()'s declaration (it was returning an int, but needed to return a size_t --- src/lladd/page/slotted.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lladd/page/slotted.h b/src/lladd/page/slotted.h index 2087e5b..b662ae8 100644 --- a/src/lladd/page/slotted.h +++ b/src/lladd/page/slotted.h @@ -175,9 +175,7 @@ recordid slottedRawRalloc(Page * page, int size); * @return an exact measurment of the freespace, or, in the case of * fragmentation, an underestimate. */ -int slottedFreespace(Page * p); - - +size_t slottedFreespace(Page * p); /** * Check to see if a slot is a normal slot, or something else, such