mirror of
https://github.com/python/cpython
synced 2024-09-19 20:51:48 +00:00
Fix compilater warnings on Windows 64-bit
This commit is contained in:
parent
5ccf2ff3e9
commit
725e421222
|
@ -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…
Reference in a new issue