From 014c1e3e7555670ec97131703f6dd38be5ea3016 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Tue, 13 Jun 2006 22:47:04 +0000 Subject: [PATCH] removed derefereneced void* --- test/lladd/check_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lladd/check_page.c b/test/lladd/check_page.c index b3f1603..85074a1 100644 --- a/test/lladd/check_page.c +++ b/test/lladd/check_page.c @@ -255,7 +255,7 @@ START_TEST(pageCheckMacros) { assert(*lsn_ptr(&p) == lsn); assert(*page_type_ptr(&p) == 10); - assert(*end_of_usable_space_ptr(&p) == 10); + assert(end_of_usable_space_ptr(&p) == page_type_ptr(&p)); assert(*freespace_ptr(&p) == 15); assert(*numslots_ptr(&p) == 20); assert(*slot_ptr(&p, 0) == 30);