diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/marshal.c | 4 | ||||
-rw-r--r-- | Python/pyhash.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 627a842..87a4b24 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -130,7 +130,7 @@ w_string(const char *s, Py_ssize_t n, WFILE *p) m = p->end - p->ptr; if (p->fp != NULL) { if (n <= m) { - Py_MEMCPY(p->ptr, s, n); + memcpy(p->ptr, s, n); p->ptr += n; } else { @@ -140,7 +140,7 @@ w_string(const char *s, Py_ssize_t n, WFILE *p) } else { if (n <= m || w_reserve(p, n - m)) { - Py_MEMCPY(p->ptr, s, n); + memcpy(p->ptr, s, n); p->ptr += n; } } diff --git a/Python/pyhash.c b/Python/pyhash.c index 9080d25..57a2da7 100644 --- a/Python/pyhash.c +++ b/Python/pyhash.c @@ -396,7 +396,7 @@ siphash24(const void *src, Py_ssize_t src_sz) { case 7: pt[6] = m[6]; case 6: pt[5] = m[5]; case 5: pt[4] = m[4]; - case 4: Py_MEMCPY(pt, m, sizeof(uint32_t)); break; + case 4: memcpy(pt, m, sizeof(uint32_t)); break; case 3: pt[2] = m[2]; case 2: pt[1] = m[1]; case 1: pt[0] = m[0]; |