diff options
author | 2023-12-06 07:58:49 +1100 | |
---|---|---|
committer | 2023-12-06 07:58:49 +1100 | |
commit | 79bef1e23049fdac25f1fefd132e0b6c7d2cc3a1 (patch) | |
tree | 643e9313fe86f583c4022c338677cbc12b761df7 /src/lib/util/un7z.cpp | |
parent | 512ccf0c7c9b4f08e41038b2ed2de220e140385b (diff) |
3rdparty/lzma: Updated to version 23.01.
Diffstat (limited to 'src/lib/util/un7z.cpp')
-rw-r--r-- | src/lib/util/un7z.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/un7z.cpp b/src/lib/util/un7z.cpp index 896818a45e3..362c95ee235 100644 --- a/src/lib/util/un7z.cpp +++ b/src/lib/util/un7z.cpp @@ -110,12 +110,12 @@ private: return SZ_OK; } - static SRes read_static(ISeekInStream const *pp, void *buf, size_t *size) noexcept + static SRes read_static(ISeekInStreamPtr pp, void *buf, size_t *size) noexcept { return static_cast<CFileInStream *>(const_cast<ISeekInStream *>(pp))->read(buf, *size); } - static SRes seek_static(ISeekInStream const *pp, Int64 *pos, ESzSeek origin) noexcept + static SRes seek_static(ISeekInStreamPtr pp, Int64 *pos, ESzSeek origin) noexcept { return static_cast<CFileInStream *>(const_cast<ISeekInStream *>(pp))->seek(*pos, origin); } @@ -329,7 +329,7 @@ m7z_file_impl::m7z_file_impl(std::string &&filename) noexcept m_look_stream.realStream = &m_archive_stream; m_look_stream.buf = m_look_stream_buf; m_look_stream.bufSize = std::size(m_look_stream_buf); - LookToRead2_Init(&m_look_stream); + LookToRead2_INIT(&m_look_stream); } |