Commit d88e8fab authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Fixed incompatible pointer warning.

parent 0c6225f0
......@@ -4111,7 +4111,7 @@ static int encode_mbcs(PyObject **repr,
else {
/* Extend string object */
n = PyBytes_Size(*repr);
if (_PyBytes_Resize(&repr, n + mbcssize) < 0)
if (_PyBytes_Resize(repr, n + mbcssize) < 0)
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment