Skip to content

Commit 809e2c7

Browse files
committed
Fix build
1 parent 2bfdb8b commit 809e2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ static zend_string *zend_accel_pfa_key(const zend_op *declaring_opline,
20202020
zend_string *key = zend_string_alloc(key_len, 0);
20212021
char *dest = ZSTR_VAL(key);
20222022

2023-
dest = mempcpy(ZSTR_VAL(key), "partial", strlen("partial"));
2023+
dest = zend_mempcpy(ZSTR_VAL(key), "partial", strlen("partial"));
20242024
*dest++ = ':';
20252025
dest = accel_uintptr_hex(dest, (uintptr_t)declaring_opline);
20262026
*dest++ = ':';

0 commit comments

Comments
 (0)