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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d88e8fab148359a85f8e2a110a850c74e8ed5244;p=python Fixed incompatible pointer warning. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 1b6a4538a9..50476ea80b 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; }