Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d88e8fa

Browse files
author
Hirokazu Yamamoto
committed
Fixed incompatible pointer warning.
1 parent 0c6225f commit d88e8fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4111,7 +4111,7 @@ static int encode_mbcs(PyObject **repr,
41114111
else {
41124112
/* Extend string object */
41134113
n = PyBytes_Size(*repr);
4114-
if (_PyBytes_Resize(&repr, n + mbcssize) < 0)
4114+
if (_PyBytes_Resize(repr, n + mbcssize) < 0)
41154115
return -1;
41164116
}
41174117

0 commit comments

Comments
 (0)