mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-41366: Fix clang warning for sign conversion (GH-21592)
(cherry picked from commit 680254a8dc
)
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
parent
4cf7afcefc
commit
e8dda907fb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue