Fix compiler warnings regarding loss of data (GH-23983)

This commit is contained in:
Pablo Galindo 2020-12-29 00:28:09 +00:00 committed by GitHub
parent 290f5ae997
commit a6d63a20df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1601,7 +1601,7 @@ pysqlite_connection_backup_impl(pysqlite_Connection *self,
{
int rc;
int callback_error = 0;
int sleep_ms = sleep * 1000.0;
int sleep_ms = (int)(sleep * 1000.0);
sqlite3 *bck_conn;
sqlite3_backup *bck_handle;