From d88e8fab148359a85f8e2a110a850c74e8ed5244 Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Sat, 27 Dec 2008 14:58:17 +0000 Subject: [PATCH] Fixed incompatible pointer warning. --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 1b6a4538a94..50476ea80be 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; }