Mercurial > hg > orthanc
changeset 6666:91d41f1b3b73 machine-spirits
fix build
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Mon, 23 Mar 2026 08:08:49 +0100 |
| parents | f2b978accde2 |
| children | eeeca0b5fab6 |
| files | OrthancFramework/Sources/Compression/GzipCompressor.cpp |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Compression/GzipCompressor.cpp Mon Mar 23 08:05:26 2026 +0100 +++ b/OrthancFramework/Sources/Compression/GzipCompressor.cpp Mon Mar 23 08:08:49 2026 +0100 @@ -264,7 +264,7 @@ while (ret != Z_STREAM_END) { - stream.next_out = reinterpret_cast<Bytef*>(chunk.data()); + stream.next_out = const_cast<Bytef*>(reinterpret_cast<const Bytef*>(chunk.data())); stream.avail_out = static_cast<uInt>(chunk.size()); ret = inflate(&stream, Z_NO_FLUSH);
