summaryrefslogtreecommitdiff
path: root/lib/Archive/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:05 +0000
commit84472d6e3c79a53a28e4351da63140709bc732a7 (patch)
tree66f7cbcecf0629b0b86640a80268f27994996bd8 /lib/Archive/ArchiveWriter.cpp
parent50b0421caaa6c5bf53fb58bb91a987370ac80545 (diff)
Adjust to Compressor interface change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive/ArchiveWriter.cpp')
-rw-r--r--lib/Archive/ArchiveWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp
index 8651e95391f..21be628452a 100644
--- a/lib/Archive/ArchiveWriter.cpp
+++ b/lib/Archive/ArchiveWriter.cpp
@@ -262,8 +262,7 @@ Archive::writeMember(
data +=4;
fSize -= 4;
}
- fSize = Compressor::compressToNewBuffer(
- data,fSize,output,Compressor::COMP_TYPE_ZLIB);
+ fSize = Compressor::compressToNewBuffer(data,fSize,output);
data = output;
if (member.isBytecode())
hdrSize = -fSize-4;