1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-16 23:02:26 +03:00

Fix a harmless compiler warning inside an assert() statement within test code.

FossilOrigin-Name: e68a3527decb434e8d0ac6b23a3cedba5992cedd
This commit is contained in:
drh
2012-05-11 15:53:18 +00:00
parent d187655341
commit 26d8b0fb49
3 changed files with 8 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ static int statDecodePage(Btree *pBt, StatPage *p){
getLocalPayload(nUsable, p->flags, nPayload, &nLocal);
pCell->nLocal = nLocal;
assert( nLocal>=0 );
assert( nPayload>=nLocal );
assert( nPayload>=(u32)nLocal );
assert( nLocal<=(nUsable-35) );
if( nPayload>(u32)nLocal ){
int j;