mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Fix compilater warnings on Windows 64-bit
This commit is contained in:
parent
5ccf2ff3e9
commit
725e421222
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ _pysqlite_long_from_int64(sqlite_int64 value)
|
|||
}
|
||||
# endif
|
||||
#endif
|
||||
return PyLong_FromLong(value);
|
||||
return PyLong_FromLong(Py_SAFE_DOWNCAST(value, sqlite_int64, long));
|
||||
}
|
||||
|
||||
sqlite_int64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue