diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-25 17:35:44 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-25 17:35:44 (GMT) |
| commit | 74f2fe64899c3d5c083af8f839af8b79c700fa6d (patch) | |
| tree | d5a20bbcd574ef1bd9b61cf475a5233ab8e9abc4 /Python | |
| parent | f60bf5f7d6166735e51c30137ea19d289d393ecb (diff) | |
| download | cpython-74f2fe64899c3d5c083af8f839af8b79c700fa6d.zip cpython-74f2fe64899c3d5c083af8f839af8b79c700fa6d.tar.gz cpython-74f2fe64899c3d5c083af8f839af8b79c700fa6d.tar.bz2 | |
Fixed the use of _Py_IS_ALIGNED (issue #27097).
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 96e0842..5f8dbcd 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1170,7 +1170,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) assert(PyBytes_Check(co->co_code)); assert(PyBytes_GET_SIZE(co->co_code) <= INT_MAX); assert(PyBytes_GET_SIZE(co->co_code) % 2 == 0); - assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), unsigned short)); + assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), 2)); first_instr = (unsigned short*) PyBytes_AS_STRING(co->co_code); /* f->f_lasti refers to the index of the last instruction, |
