summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r--Objects/codeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index f7613e8..69cb31c 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -408,8 +408,8 @@ emit_pair(PyObject **bytes, int *offset, int a, int b)
if (_PyBytes_Resize(bytes, len * 2) < 0)
return 0;
}
- unsigned char *lnotab = (unsigned char *)
- PyBytes_AS_STRING(*bytes) + *offset;
+ unsigned char *lnotab = (unsigned char *) PyBytes_AS_STRING(*bytes);
+ lnotab += *offset;
*lnotab++ = a;
*lnotab++ = b;
*offset += 2;