diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-03 16:18:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-03 16:18:38 (GMT) |
commit | 1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490 (patch) | |
tree | da53139331ad9a0e3b0c059815c195f835da4b2d /Modules/sre.h | |
parent | 1dfb9180a736c9033730ce05db696ee32c5a3d1c (diff) | |
download | cpython-1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490.zip cpython-1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490.tar.gz cpython-1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490.tar.bz2 |
Issue #17998: Fix an internal error in regular expression engine.
Diffstat (limited to 'Modules/sre.h')
-rw-r--r-- | Modules/sre.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/sre.h b/Modules/sre.h index 1a6cd56..0a8f0cf 100644 --- a/Modules/sre.h +++ b/Modules/sre.h @@ -19,7 +19,7 @@ #if SIZEOF_SIZE_T > 4 # define SRE_MAXREPEAT (~(SRE_CODE)0) #else -# define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX + 1u) +# define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX) #endif typedef struct { |