diff options
| -rw-r--r-- | src/cc4group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 0a8a3bd..3947acf 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -671,7 +671,7 @@ static bool cc4group_uncompressGroup(CC4Group* const this, CC4Group_ReadCallback uint8_t* data = (uint8_t*)(uncompressedData) + sizeof(C4GroupHeader) + sizeof(C4GroupEntryCore) * header->Entries; - // write alredy decompressed header and cores into the file + // write alredy decompressed header and cores into the new tmp memory memcpy(uncompressedData, header, data - uncompressedData); strm.next_out = data; |
