summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-13 08:55:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-13 08:55:20 (GMT)
commit5c767c2f876a0e9611489033b1be92c566273d6f (patch)
tree9b4abbdec9616095b098cb37d96ca245baf9755d /Objects
parent6467213bfd10dd45f0ae6fa607c8052a3bdaec23 (diff)
downloadcpython-5c767c2f876a0e9611489033b1be92c566273d6f.zip
cpython-5c767c2f876a0e9611489033b1be92c566273d6f.tar.gz
cpython-5c767c2f876a0e9611489033b1be92c566273d6f.tar.bz2
Fix Windows build (re r77461)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
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;