summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-25 17:35:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-25 17:35:44 (GMT)
commit74f2fe64899c3d5c083af8f839af8b79c700fa6d (patch)
treed5a20bbcd574ef1bd9b61cf475a5233ab8e9abc4 /Python
parentf60bf5f7d6166735e51c30137ea19d289d393ecb (diff)
downloadcpython-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.c2
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,