From: Hirokazu Yamamoto Date: Sat, 27 Dec 2008 14:58:17 +0000 (+0000) Subject: Fixed incompatible pointer warning. X-Git-Tag: v3.1a1~660 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d88e8fab148359a85f8e2a110a850c74e8ed5244;p=thirdparty%2FPython%2Fcpython.git Fixed incompatible pointer warning. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 1b6a4538a94f..50476ea80bec 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; }