Do not throw away bits for no reason

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-01-08 19:32:59 +00:00
parent 7cf9ad3698
commit 25dc891a3d

View File

@ -328,7 +328,7 @@ uint64_t Compressor::compress(const char* in, unsigned size,
uint64_t
Compressor::compressToNewBuffer(const char* in, unsigned size, char*&out) {
BufferContext bc(size);
unsigned result = compress(in,size,BufferContext::callback,(void*)&bc);
uint64_t result = compress(in,size,BufferContext::callback,(void*)&bc);
out = bc.buff;
return result;
}