Fixed incompatible pointer warning.

This commit is contained in:
Hirokazu Yamamoto 2008-12-27 14:58:17 +00:00
parent 0c6225f062
commit d88e8fab14

View file

@ -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;
}