commit | 080b598990aae43b2ee4880d98b1a575fae2a778 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Jun 09 04:48:22 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Jun 09 04:48:22 2007 +0000 |
tree | 583e7131d0606155aeab9ac5b286fcbe0a7c3919 | |
parent | 7dbd2a3720be7f54068f8a8f3fa2176dd2ab1ebe [diff] [blame] |
Use macro version of GET_SIZE to avoid Coverity warning (#150) about a possible error.
diff --git a/Python/peephole.c b/Python/peephole.c index 7111331..286ac29 100644 --- a/Python/peephole.c +++ b/Python/peephole.c
@@ -308,7 +308,7 @@ /* Avoid situations where jump retargeting could overflow */ assert(PyString_Check(code)); - codelen = PyString_Size(code); + codelen = PyString_GET_SIZE(code); if (codelen > 32700) goto exitUnchanged;