diff options
Diffstat (limited to 'Tests/LibC/TestStrlcpy.cpp')
-rw-r--r-- | Tests/LibC/TestStrlcpy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibC/TestStrlcpy.cpp b/Tests/LibC/TestStrlcpy.cpp index cf4c0a9988..9458710600 100644 --- a/Tests/LibC/TestStrlcpy.cpp +++ b/Tests/LibC/TestStrlcpy.cpp @@ -55,7 +55,7 @@ static bool test_single(const Testcase& testcase) } // Setup - ByteBuffer actual = ByteBuffer::create_uninitialized(SANDBOX_CANARY_SIZE + testcase.dest_n + SANDBOX_CANARY_SIZE); + ByteBuffer actual = ByteBuffer::create_uninitialized(SANDBOX_CANARY_SIZE + testcase.dest_n + SANDBOX_CANARY_SIZE).release_value(); fill_with_random(actual.data(), actual.size()); ByteBuffer expected = actual; VERIFY(actual.offset_pointer(0) != expected.offset_pointer(0)); |