Skip to content

Commit

Permalink
Use SIZE_T_MAX instead of PY_SSIZE_T_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4JC committed Oct 27, 2024
1 parent 35fece7 commit c107fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ugrapheme/graphemes.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cdef extern from *:
# include <stdint.h>
# include <Python.h>
# if PY_SSIZE_T_MAX > UINT32_MAX
# if SIZE_T_MAX > UINT32_MAX
# define GRAPHEME32_MAX UINT32_MAX
# define gsizecheck_t Py_ssize_t
# else
Expand Down

0 comments on commit c107fea

Please sign in to comment.