commit | d88e8fab148359a85f8e2a110a850c74e8ed5244 | [log] [tgz] |
---|---|---|
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Sat Dec 27 14:58:17 2008 +0000 |
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Sat Dec 27 14:58:17 2008 +0000 |
tree | 551d8e8a8f78ed37cdbaf12ac44e8847d3a16f39 | |
parent | 0c6225f062eaedaf6bb046716f060e8c27f09812 [diff] |
Fixed incompatible pointer warning.
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 @@ else { /* Extend string object */ n = PyBytes_Size(*repr); - if (_PyBytes_Resize(&repr, n + mbcssize) < 0) + if (_PyBytes_Resize(repr, n + mbcssize) < 0) return -1; }