fix erroneous const declaration

This commit is contained in:
Rusty Sears 2013-01-30 14:09:14 -08:00
parent b31fe84427
commit e08d89e5d6

View file

@ -17,7 +17,7 @@
are defined at compile time then this method will be more thorough are defined at compile time then this method will be more thorough
and more expensive. and more expensive.
*/ */
static inline void slottedFsck(const Page const * page) { static inline void slottedFsck(const Page * page) {
const short page_type = page->pageType; const short page_type = page->pageType;
assert(page_type == SLOTTED_PAGE || assert(page_type == SLOTTED_PAGE ||
page_type == BOUNDARY_TAG_PAGE || page_type == BOUNDARY_TAG_PAGE ||