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

Fix harmless compiler warning seen with MSVC.

FossilOrigin-Name: 9612bcd648c7654050ddb2f955a28cbc527a8c2e
This commit is contained in:
mistachkin
2012-01-08 00:54:02 +00:00
parent 7dd1ac600e
commit 0547e2ff7b
3 changed files with 9 additions and 9 deletions

View File

@@ -2438,7 +2438,7 @@ static int lockBtree(BtShared *pBt){
if( pBt->maxLocal>127 ){
pBt->max1bytePayload = 127;
}else{
pBt->max1bytePayload = pBt->maxLocal;
pBt->max1bytePayload = (u8)pBt->maxLocal;
}
assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) );
pBt->pPage1 = pPage1;