mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
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:
parent
7cf9ad3698
commit
25dc891a3d
@ -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