mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix various compiler warnings.
FossilOrigin-Name: c412f61229b6ab1ac90b932afd56f7c5e3ba1cfe
This commit is contained in:
@@ -5806,7 +5806,7 @@ case OP_MaxPgcnt: { /* out2-prerelease */
|
||||
newMax = 0;
|
||||
if( pOp->p3 ){
|
||||
newMax = sqlite3BtreeLastPage(pBt);
|
||||
if( pOp->p3>newMax ) newMax = pOp->p3;
|
||||
if( newMax < (unsigned)pOp->p3 ) newMax = (unsigned)pOp->p3;
|
||||
}
|
||||
pOut->u.i = sqlite3BtreeMaxPageCount(pBt, newMax);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user