Skip to content
Snippets Groups Projects
Commit 0b893424 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

tools/lzma-old fix compile issues (patch from #10253)

SVN-Revision: 28502
parent ee61d700
No related branches found
No related tags found
No related merge requests found
...@@ -311,9 +311,9 @@ ...@@ -311,9 +311,9 @@
+ UInt64 m_offset; + UInt64 m_offset;
+}; +};
+ +
+ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, +ZEXTERN int ZEXPORT compress2 (Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen, + const Bytef *source, uLong sourceLen,
+ int level)) + int level)
+{ +{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen); + CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec; + CMyComPtr<ISequentialInStream> inStream = inStreamSpec;
...@@ -374,8 +374,8 @@ ...@@ -374,8 +374,8 @@
+ return Z_OK; + return Z_OK;
+} +}
+ +
+ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, +ZEXTERN int ZEXPORT uncompress (Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen)) + const Bytef *source, uLong sourceLen)
+{ +{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen); + CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec; + CMyComPtr<ISequentialInStream> inStream = inStreamSpec;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment