diff options
Diffstat (limited to 'tests/copy_file_range.c')
-rw-r--r-- | tests/copy_file_range.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/copy_file_range.c b/tests/copy_file_range.c index 085010af0..f0d6a57c4 100644 --- a/tests/copy_file_range.c +++ b/tests/copy_file_range.c @@ -41,8 +41,8 @@ main(void) { const long int fd_in = (long int) 0xdeadbeefffffffff; const long int fd_out = (long int) 0xdeadbeeffffffffe; - long long int *const off_in = tail_alloc(sizeof(*off_in)); - long long int *const off_out = tail_alloc(sizeof(*off_out)); + TAIL_ALLOC_OBJECT_CONST_PTR(long long int, off_in); + TAIL_ALLOC_OBJECT_CONST_PTR(long long int, off_out); *off_in = 0xdeadbef1facefed1; *off_out = 0xdeadbef2facefed2; const size_t len = (size_t) 0xdeadbef3facefed3ULL; |