From 1c0d55b27ff7ad8f64c16ffd0830ffafd279374b Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 18 Mar 2022 09:56:44 +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 1ce0c72e64..4ec3a895e7 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__)) { - u16 szCell[2]; - u16 nxOffset[2]; + u16 szCell; + u16 nxOffset; } SFreeCell; static int tdbPageAllocate(SPage *pPage, int size, SCell **ppCell); -- GitLab