diff options
author | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 +0000 |
commit | 194e85d997b62b895d5758e0253cb1ab5aec3fd6 (patch) | |
tree | f577b76752a20352d9d4f5bc9956ead424c968e7 /Objects/stringobject.c | |
parent | 7803ec0741558f0f3ce6610b8ed3fb710f215db8 (diff) | |
download | cpython-194e85d997b62b895d5758e0253cb1ab5aec3fd6.tar.gz |
Merge with trunk up to revision 45620.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 32e825ebe6..b34dcb2110 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -865,7 +865,7 @@ PyString_Repr(PyObject *obj, int smartquotes) *p++ = quote; *p = '\0'; _PyString_Resize( - &v, (int) (p - PyString_AS_STRING(v))); + &v, (p - PyString_AS_STRING(v))); return v; } } |