Do not throw away bits for no reason

llvm-svn: 19378
This commit is contained in:
Chris Lattner 2005-01-08 19:32:59 +00:00
parent e4d415db9d
commit 77d45e2e60

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;
}