Browse Source

Fix compilater warnings on Windows 64-bit

pull/224/head
Victor Stinner 13 years ago
parent
commit
725e421222
  1. 2
      Modules/_sqlite/util.c

2
Modules/_sqlite/util.c

@ -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…
Cancel
Save