Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 50299:4bdf9e342291
Fixed incompatible pointer warning.
| author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> |
|---|---|
| date | Sat, 27 Dec 2008 14:58:17 +0000 |
| parents | 113751a8990c |
| children | 1efa1304dfb3 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Sat Dec 27 09:59:15 2008 +0000 +++ b/Objects/unicodeobject.c Sat Dec 27 14:58:17 2008 +0000 @@ -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; }
