From 74f2fe64899c3d5c083af8f839af8b79c700fa6d Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 25 May 2016 20:35:44 +0300 Subject: [PATCH] Fixed the use of _Py_IS_ALIGNED (issue #27097). --- Python/ceval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/ceval.c b/Python/ceval.c index 96e08426313..5f8dbcd1526 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,