1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-10-21 12:52:49 +00:00
parent 24a1c09091
commit 5f95aaf2b3

View File

@ -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 @@
+ 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;