bpo-41366: Fix clang warning for sign conversion (GH-21592)

This commit is contained in:
Henry Schreiner 2020-07-23 04:39:03 -04:00 committed by GitHub
parent 592527f3ee
commit 680254a8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
Py_DEPRECATED(3.3) static inline void
Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) {
memcpy(target, source, length * sizeof(Py_UNICODE));
memcpy(target, source, (size_t)(length) * sizeof(Py_UNICODE));
}
Py_DEPRECATED(3.3) static inline void