diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:47:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:47:26 (GMT) |
commit | ca4706399879b30e952c402637b4fc0d4d2e661c (patch) | |
tree | 72f97b545d4d31afd06a8874fcbb578cb178aa0d /Modules/sre_lib.h | |
parent | 3c397e4c39430000348f2f64d9e394bf1b61c509 (diff) | |
download | cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.zip cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.tar.gz cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.tar.bz2 |
replace Py_(u)intptr_t with the c99 standard types
Diffstat (limited to 'Modules/sre_lib.h')
-rw-r--r-- | Modules/sre_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/sre_lib.h b/Modules/sre_lib.h index 78f7ac7..0865fc6 100644 --- a/Modules/sre_lib.h +++ b/Modules/sre_lib.h @@ -529,7 +529,7 @@ entrance: if (ctx->pattern[0] == SRE_OP_INFO) { /* optimization info block */ /* <INFO> <1=skip> <2=flags> <3=min> ... */ - if (ctx->pattern[3] && (Py_uintptr_t)(end - ctx->ptr) < ctx->pattern[3]) { + if (ctx->pattern[3] && (uintptr_t)(end - ctx->ptr) < ctx->pattern[3]) { TRACE(("reject (got %" PY_FORMAT_SIZE_T "d chars, " "need %" PY_FORMAT_SIZE_T "d)\n", end - ctx->ptr, (Py_ssize_t) ctx->pattern[3])); |