changeset: 101492:b26d07812a8e user: Serhiy Storchaka date: Wed May 25 20:35:44 2016 +0300 files: Python/ceval.c description: Fixed the use of _Py_IS_ALIGNED (issue #27097). diff -r eda3716d6425 -r b26d07812a8e Python/ceval.c --- a/Python/ceval.c Wed May 25 20:02:01 2016 +0300 +++ b/Python/ceval.c Wed May 25 20:35:44 2016 +0300 @@ -1170,7 +1170,7 @@ 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,