Skip to content

Commit c2d20f4

Browse files
committed
Merge branch 'PHP-8.3'
2 parents 7c63a43 + bbb6ffa commit c2d20f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/zend_test/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,9 +1368,9 @@ PHP_ZEND_TEST_API int gh11934b_ffi_var_test_cdata;
13681368
/**
13691369
* This function allows us to simulate early return of copy_file_range by setting the limit_copy_file_range ini setting.
13701370
*/
1371-
PHP_ZEND_TEST_API ssize_t copy_file_range(int fd_in, off64_t *off_in, int fd_out, off64_t *off_out, size_t len, unsigned int flags)
1371+
PHP_ZEND_TEST_API ssize_t copy_file_range(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned int flags)
13721372
{
1373-
ssize_t (*original_copy_file_range)(int, off64_t *, int, off64_t *, size_t, unsigned int) = dlsym(RTLD_NEXT, "copy_file_range");
1373+
ssize_t (*original_copy_file_range)(int, off_t *, int, off_t *, size_t, unsigned int) = dlsym(RTLD_NEXT, "copy_file_range");
13741374
if (ZT_G(limit_copy_file_range) >= Z_L(0)) {
13751375
len = ZT_G(limit_copy_file_range);
13761376
}

0 commit comments

Comments
 (0)