summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-03-25 04:18:18 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-03-25 04:18:18 (GMT)
commit4677fbf7de591d0cea0d1aeaa9639ee46faa48f5 (patch)
tree901a21ade405c98f331df5c2ef3ccf1266280f0b /Objects
parent40f5e4c5a20436e61e8cdcda9c5a3d0162f9435c (diff)
downloadcpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.zip
cpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.tar.gz
cpython-4677fbf7de591d0cea0d1aeaa9639ee46faa48f5.tar.bz2
Try to fix a bunch of compiler warnings on Win64.
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 68df57d..5dd89c4 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7261,7 +7261,7 @@ unicode_repeat(PyUnicodeObject *str, Py_ssize_t len)
done = str->length;
}
while (done < nchars) {
- int n = (done <= nchars-done) ? done : nchars-done;
+ Py_ssize_t n = (done <= nchars-done) ? done : nchars-done;
Py_UNICODE_COPY(p+done, p, n);
done += n;
}