From 533a60d4fc04260fe174243ea57db7d168ed1f48 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 18 Mar 2022 09:51:21 +0000 Subject: [PATCH] more TDB --- source/libs/tdb/src/page/tdbPage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/tdb/src/page/tdbPage.c b/source/libs/tdb/src/page/tdbPage.c index 21fc8a373d..1ce0c72e64 100644 --- a/source/libs/tdb/src/page/tdbPage.c +++ b/source/libs/tdb/src/page/tdbPage.c @@ -19,8 +19,8 @@ extern SPageMethods pageMethods; extern SPageMethods pageLargeMethods; typedef struct __attribute__((__packed__)) { - u8 szCell[2]; - u8 nxOffset[2]; + u16 szCell[2]; + u16 nxOffset[2]; } SFreeCell; static int tdbPageAllocate(SPage *pPage, int size, SCell **ppCell); -- GitLab