commit | 4677fbf7de591d0cea0d1aeaa9639ee46faa48f5 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 25 04:18:18 2008 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 25 04:18:18 2008 +0000 |
tree | 901a21ade405c98f331df5c2ef3ccf1266280f0b | |
parent | 40f5e4c5a20436e61e8cdcda9c5a3d0162f9435c [diff] |
Try to fix a bunch of compiler warnings on Win64.
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 @@ 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; }