diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-13 08:55:20 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-13 08:55:20 (GMT) |
commit | 5c767c2f876a0e9611489033b1be92c566273d6f (patch) | |
tree | 9b4abbdec9616095b098cb37d96ca245baf9755d /Objects | |
parent | 6467213bfd10dd45f0ae6fa607c8052a3bdaec23 (diff) | |
download | cpython-5c767c2f876a0e9611489033b1be92c566273d6f.zip cpython-5c767c2f876a0e9611489033b1be92c566273d6f.tar.gz cpython-5c767c2f876a0e9611489033b1be92c566273d6f.tar.bz2 |
Fix Windows build (re r77461)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b7874f1..e74165a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -5791,10 +5791,10 @@ PyObject *replace(PyUnicodeObject *self, goto nothing; if (str1->length == str2->length) { + Py_ssize_t i; /* same length */ if (str1->length == 0) goto nothing; - Py_ssize_t i; if (str1->length == 1) { /* replace characters */ Py_UNICODE u1, u2; |