Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r3153:1443130c25e1 Date: 2018-08-30 11:53 +0200 http://bitbucket.org/cffi/cffi/changeset/1443130c25e1/
Log: Use memcpy here diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -1475,7 +1475,7 @@ if (cd->c_type == ct) { Py_ssize_t n = get_array_length(cd); - memmove(data, cd->c_data, n * ctitem->ct_size); + memcpy(data, cd->c_data, n * ctitem->ct_size); return 0; } } _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit