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

Fix harmless compiler warning seen with MSVC.

FossilOrigin-Name: e36217f2536d89f7a15a879fe3ead32307909c71ced42e1ae7b35f43d4744a80
This commit is contained in:
mistachkin
2022-08-05 05:30:07 +00:00
parent bffd5c1ece
commit e2848932a5
3 changed files with 9 additions and 9 deletions

View File

@@ -1445,7 +1445,7 @@ static int vdbeUnbind(Vdbe *p, unsigned int i){
"bind on a busy prepared statement: [%s]", p->zSql);
return SQLITE_MISUSE_BKPT;
}
if( i>=p->nVar ){
if( i>=(unsigned int)p->nVar ){
sqlite3Error(p->db, SQLITE_RANGE);
sqlite3_mutex_leave(p->db->mutex);
return SQLITE_RANGE;