diff options
author | 2023-05-04 02:51:29 +1000 | |
---|---|---|
committer | 2023-05-04 02:51:29 +1000 | |
commit | 472f441a1b395c6a9c3b44b3f8cc70ffad2b66f4 (patch) | |
tree | 90fbb58cfac22e1b9744a44caccd85adafa12ae7 /src | |
parent | a504bde3a7462b54fafd5cfc2f52e58d0f3218e1 (diff) |
util/unzip.cpp: Update for latest LZMA SDK.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/util/unzip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/unzip.cpp b/src/lib/util/unzip.cpp index 7e8545b4c17..d693384ef0f 100644 --- a/src/lib/util/unzip.cpp +++ b/src/lib/util/unzip.cpp @@ -1388,8 +1388,8 @@ std::error_condition zip_file_impl::decompress_data_type_14(std::uint64_t offset // reset the stream ISzAlloc alloc_imp; - alloc_imp.Alloc = [] (void *p, std::size_t size) -> void * { return size ? std::malloc(size) : nullptr; }; - alloc_imp.Free = [] (void *p, void *address) -> void { std::free(address); }; + alloc_imp.Alloc = [] (ISzAllocPtr p, std::size_t size) -> void * { return size ? std::malloc(size) : nullptr; }; + alloc_imp.Free = [] (ISzAllocPtr p, void *address) -> void { std::free(address); }; CLzmaDec stream; LzmaDec_Construct(&stream); |