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

Fix harmless compiler warnings.

FossilOrigin-Name: 8eee591d3cb9fadfd5cac5543bd66ef9cb371a72d3ad3241fb3bfd67fb216eda
This commit is contained in:
drh
2020-05-04 19:52:00 +00:00
parent 44a5c86c6c
commit 3d42fb788a
4 changed files with 10 additions and 9 deletions

View File

@@ -768,7 +768,7 @@ static void statPush(
}
}else
#endif
if( p->nLimit && p->nRow>p->nLimit*(p->nSkipAhead+1) ){
if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){
p->nSkipAhead++;
sqlite3_result_int(context, p->current.anDLt[0]>0);
}