Skip to content

Commit

Permalink
Merge pull request #263 from alxiong/fix-py310-install
Browse files Browse the repository at this point in the history
fix: typo in gmp/pycore_long
  • Loading branch information
malb authored Jan 25, 2024
2 parents c98229b + 3808641 commit 58a009f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpylll/gmp/pycore_long.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ _PyLong_SetSignAndDigitCount(PyLongObject *op, int sign, Py_ssize_t size)
{
#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION < 9)
// The function Py_SET_SIZE is defined starting with python 3.9.
Py_SIZE(o) = size;
Py_SIZE(op) = size;
#else
Py_SET_SIZE(op, sign < 0 ? -size : size);
#endif
Expand Down

0 comments on commit 58a009f

Please sign in to comment.