mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +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 {
|
else {
|
||||||
/* Extend string object */
|
/* Extend string object */
|
||||||
n = PyBytes_Size(*repr);
|
n = PyBytes_Size(*repr);
|
||||||
if (_PyBytes_Resize(&repr, n + mbcssize) < 0)
|
if (_PyBytes_Resize(repr, n + mbcssize) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue