mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 13:34:33 -04:00
Version 0.18.10
- fixed GCC compilation warnings
This commit is contained in:
parent
6b090b667f
commit
970ae65b24
5 changed files with 17 additions and 14 deletions
|
@ -19,12 +19,13 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
#define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + 8)
|
||||
|
||||
static void * AllocForLzma(void *p, size_t size) { return malloc(size); }
|
||||
static void FreeForLzma(void *p, void *address) { free(address); }
|
||||
static void * AllocForLzma(void *p, size_t size) { (void)p; return malloc(size); }
|
||||
static void FreeForLzma(void *p, void *address) { (void)p; free(address); }
|
||||
static ISzAlloc SzAllocForLzma = { &AllocForLzma, &FreeForLzma };
|
||||
|
||||
SRes OnProgress(void *p, UInt64 inSize, UInt64 outSize)
|
||||
{
|
||||
(void)p; (void) inSize; (void) outSize;
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
|
@ -105,4 +106,4 @@ UINT32 *DestinationSize
|
|||
else {
|
||||
return ERR_INVALID_PARAMETER;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue