diff options
author | drh <drh@noemail.net> | 2019-04-14 00:34:20 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-04-14 00:34:20 +0000 |
commit | d4de9f7b1e9a7864691f4b6a785628749d5c461a (patch) | |
tree | 6490a6de06625659836de36cbde570745db9ebeb /src/expr.c | |
parent | 766b431ab9db6b87bd4fd6b3a879bb9b3f4f9196 (diff) | |
download | sqlite-d4de9f7b1e9a7864691f4b6a785628749d5c461a.tar.gz sqlite-d4de9f7b1e9a7864691f4b6a785628749d5c461a.zip |
Fix an obsolete comment and other minor issues from code inspection.
FossilOrigin-Name: cd084427319394386844d6651479256a2fd57a412fccb79ba53172ce76693eb1
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 0e64cd205..9a5e0345a 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1322,7 +1322,7 @@ static Expr *exprDup(sqlite3 *db, Expr *p, int dupFlags, u8 **pzBuffer){ static With *withDup(sqlite3 *db, With *p){ With *pRet = 0; if( p ){ - int nByte = sizeof(*p) + sizeof(p->a[0]) * (p->nCte-1); + sqlite3_int64 nByte = sizeof(*p) + sizeof(p->a[0]) * (p->nCte-1); pRet = sqlite3DbMallocZero(db, nByte); if( pRet ){ int i; |