mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Do not throw away bits for no reason
llvm-svn: 19378
This commit is contained in:
parent
e4d415db9d
commit
77d45e2e60
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user