aboutsummaryrefslogtreecommitdiff
path: root/src/SCompression.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2023-02-07 09:10:58 +0100
committerGitHub <noreply@github.com>2023-02-07 09:10:58 +0100
commit33e6a2bdfec872c31bfd7ce2899012c129894f7e (patch)
tree6cebd387986b6870d03161d1bc25d9c1c382651d /src/SCompression.cpp
parent9beaed54cd6ef17ba3e0209233a29bd74184de6f (diff)
parent01e940f998e64ceb60d39a30d0e40c33be430744 (diff)
Merge pull request #285 from ladislav-zezula/LZ_LzmaFix
Fixed bug in the LZMA compression
Diffstat (limited to 'src/SCompression.cpp')
-rw-r--r--src/SCompression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SCompression.cpp b/src/SCompression.cpp
index 54c84b4..659c9a8 100644
--- a/src/SCompression.cpp
+++ b/src/SCompression.cpp
@@ -461,7 +461,7 @@ static void Compress_LZMA(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuf
*pbOutBuffer++ = 0;
// Copy the encoded properties to the output buffer
- memcpy(pvOutBuffer, encodedProps, encodedPropsSize);
+ memcpy(pbOutBuffer, encodedProps, encodedPropsSize);
pbOutBuffer += encodedPropsSize;
// Copy the size of the data