Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Nov 14, 2024
1 parent d35bb2b commit db63327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,9 @@ static inline digit*
_PyLong_GetDigits(const PyLongObject *op)
{
#if PY_VERSION_HEX >= 0x030C0000
return op->long_value.ob_digit;
return (digit*)(op->long_value.ob_digit);
#else
return op->ob_digit;
return (digit*)(op->ob_digit);
#endif
}

Expand Down

0 comments on commit db63327

Please sign in to comment.