From: dan Date: Tue, 29 Aug 2023 10:50:11 +0000 (+0000) Subject: Change a variable from "int" to "i64" to make it easier to prove that it cannot overflow. X-Git-Tag: version-3.44.0~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b44b8023782b00387bde7c00a0d83255284226a5;p=thirdparty%2Fsqlite.git Change a variable from "int" to "i64" to make it easier to prove that it cannot overflow. FossilOrigin-Name: 00a8b3a263f3537588063ce42fad6e21fa343dad850b086d0929ed1617eb44fc --- diff --git a/ext/fts5/fts5_index.c b/ext/fts5/fts5_index.c index 267489a7eb..1b3f0fef99 100644 --- a/ext/fts5/fts5_index.c +++ b/ext/fts5/fts5_index.c @@ -3272,7 +3272,7 @@ static Fts5Iter *fts5MultiIterAlloc( int nSeg ){ Fts5Iter *pNew; - int nSlot; /* Power of two >= nSeg */ + i64 nSlot; /* Power of two >= nSeg */ for(nSlot=2; nSlot