diff options
Diffstat (limited to 'Objects/frameobject.c')
| -rw-r--r-- | Objects/frameobject.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index b743dc72ee..e4c16de662 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -373,8 +373,8 @@ marklines(PyCodeObject *code, int len)      }      while (PyLineTable_NextAddressRange(&bounds)) { -        assert(bounds.ar_start/2 < len); -        linestarts[bounds.ar_start/2] = bounds.ar_line; +        assert(bounds.ar_start/(int)sizeof(_Py_CODEUNIT) < len); +        linestarts[bounds.ar_start/sizeof(_Py_CODEUNIT)] = bounds.ar_line;      }      return linestarts;  }  | 
