mirror of
https://github.com/python/cpython.git
synced 2025-07-17 00:05:20 +00:00
Fixed incompatible pointer warning.
This commit is contained in:
parent
0c6225f062
commit
d88e8fab14
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue