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

Fix harmless compiler warnings in the progress callback logic.

FossilOrigin-Name: 908141d5bf7a9ad8f40c2332476847733eca7fdc
This commit is contained in:
drh
2013-07-10 18:14:29 +00:00
parent 49afe3aaa0
commit 8f8c65f79b
4 changed files with 10 additions and 10 deletions

View File

@@ -1298,7 +1298,7 @@ void sqlite3_progress_handler(
sqlite3_mutex_enter(db->mutex);
if( nOps>0 ){
db->xProgress = xProgress;
db->nProgressOps = nOps;
db->nProgressOps = (unsigned)nOps;
db->pProgressArg = pArg;
}else{
db->xProgress = 0;