We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b4e46 commit 9555b0bCopy full SHA for 9555b0b
src/printf.c
@@ -921,7 +921,7 @@ static int sqlite3StrAccumEnlarge(StrAccum *p, int N){
921
}else{
922
char *zOld = isMalloced(p) ? p->zText : 0;
923
i64 szNew = p->nChar;
924
- szNew += N + 1;
+ szNew += (sqlite3_int64)N + 1;
925
if( szNew+p->nChar<=p->mxAlloc ){
926
/* Force exponential buffer size growth as long as it does not overflow,
927
** to avoid having to call this routine too often */
0 commit comments