Skip to content

Commit 970c1ad

Browse files
authored
Apply suggestions from code review
1 parent 9b28503 commit 970c1ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/bytearrayobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ bytearray_ass_subscript_lock_held(PyObject *op, PyObject *index, PyObject *value
807807
/* Delete slice */
808808
size_t cur;
809809
Py_ssize_t i;
810-
char* buf = PyByteArray_AS_STRING(self);
810+
char *buf = PyByteArray_AS_STRING(self);
811811

812812
if (!_canresize(self))
813813
return -1;
@@ -848,7 +848,7 @@ bytearray_ass_subscript_lock_held(PyObject *op, PyObject *index, PyObject *value
848848
/* Assign slice */
849849
Py_ssize_t i;
850850
size_t cur;
851-
char* buf = PyByteArray_AS_STRING(self);
851+
char *buf = PyByteArray_AS_STRING(self);
852852

853853
if (needed != slicelen) {
854854
PyErr_Format(PyExc_ValueError,

0 commit comments

Comments
 (0)