summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-12-27 14:58:17 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-12-27 14:58:17 (GMT)
commitd88e8fab148359a85f8e2a110a850c74e8ed5244 (patch)
tree551d8e8a8f78ed37cdbaf12ac44e8847d3a16f39 /Objects/unicodeobject.c
parent0c6225f062eaedaf6bb046716f060e8c27f09812 (diff)
downloadcpython-d88e8fab148359a85f8e2a110a850c74e8ed5244.zip
cpython-d88e8fab148359a85f8e2a110a850c74e8ed5244.tar.gz
cpython-d88e8fab148359a85f8e2a110a850c74e8ed5244.tar.bz2
Fixed incompatible pointer warning.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 1b6a453..50476ea 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;
}