fix(tdb/btree): use unsigned type for memcpy

This commit is contained in:
Minglei Jin 2024-08-22 14:32:34 +08:00
parent f143f5f1bc
commit 1bc4521aa1
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ static int tdbBtreeEncodePayload(SPage *pPage, SCell *pCell, int nHeader, const
memcpy(pCell + nLocal - sizeof(pgno), &pgno, sizeof(pgno));
int lastKeyPageSpace = 0;
size_t lastKeyPageSpace = 0;
// pack left key & val to ovpages
do {
// cal key to cpy