mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Try to fix a bunch of compiler warnings on Win64.
This commit is contained in:
parent
40f5e4c5a2
commit
4677fbf7de
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue