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

Fix a harmless compiler warning injected by [c978aed3b6f82b3d].

FossilOrigin-Name: f46500247b3a2f8b4a2f0f032cc4066af9cb3918e38a09c59db0a1da5747a25c
This commit is contained in:
drh
2025-06-23 13:42:59 +00:00
parent 4c1c400d64
commit f453e8d84e
3 changed files with 8 additions and 8 deletions

View File

@@ -3074,7 +3074,7 @@ int sqlite3BtreeSetPageSize(Btree *p, int pageSize, int nReserve, int iFix){
sqlite3BtreeEnter(p);
pBt->nReserveWanted = (u8)nReserve;
x = pBt->pageSize - pBt->usableSize;
if( x==nReserve && (pageSize==0 || pageSize==pBt->pageSize) ){
if( x==nReserve && (pageSize==0 || (u32)pageSize==pBt->pageSize) ){
sqlite3BtreeLeave(p);
return SQLITE_OK;
}