diff options
author | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 (GMT) |
commit | d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff (patch) | |
tree | cbb873ade20466ec7aef5e210428af8a6f929c37 /Objects | |
parent | 13247bfc8bd35cedcb44a3a8ec9d89e7c1a9f7ef (diff) | |
download | cpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.zip cpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.tar.gz cpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.tar.bz2 |
Merge with trunk up to revision 45620.
Diffstat (limited to 'Objects')
-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 32e825e..b34dcb2 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; } } |