1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix harmless compiler warning in an assert statement.

FossilOrigin-Name: d33a1ff3aad0bfabf70a98ac338a68f82074e4fe
This commit is contained in:
mistachkin
2014-10-27 19:42:02 +00:00
parent 98d94211ce
commit a95d8ca1fa
3 changed files with 9 additions and 9 deletions

View File

@@ -1308,7 +1308,7 @@ static int allocateSpace(MemPage *pPage, int nByte, int *pIdx){
assert( nByte>=0 ); /* Minimum cell size is 4 */
assert( pPage->nFree>=nByte );
assert( pPage->nOverflow==0 );
assert( nByte < pPage->pBt->usableSize-8 );
assert( nByte < (int)(pPage->pBt->usableSize-8) );
assert( pPage->cellOffset == hdr + 12 - 4*pPage->leaf );
gap = pPage->cellOffset + 2*pPage->nCell;