mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +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…
x
Reference in New Issue
Block a user