Skip to content

Commit

Permalink
fix: Update CompressionTypes typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
theopolis committed Oct 1, 2024
1 parent ae16a7a commit df5d927
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build_sdist:
name: Build sdist
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:

publish_pypi:
name: Publish artifacts to PyPI
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs: [build_sdist, build_wheels]
permissions:
Expand Down
4 changes: 2 additions & 2 deletions uefi_firmware/compression/Include/CompressionTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ EFI_STATUS
typedef
EFI_STATUS
(*GETINFO_FUNCTION) (
IN VOID *Source,
IN CONST VOID *Source,
IN size_t SrcSize,
OUT size_t *DstSize,
OUT size_t *ScratchSize
Expand All @@ -48,7 +48,7 @@ EFI_STATUS
typedef
EFI_STATUS
(*DECOMPRESS_FUNCTION) (
IN VOID *Source,
IN CONST VOID *Source,
IN size_t SrcSize,
IN OUT VOID *Destination,
IN size_t DstSize,
Expand Down
11 changes: 7 additions & 4 deletions uefi_firmware/compression/LZMA/LzmaDecompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ EFI_STATUS
EFIAPI
LzmaGetInfo (
CONST VOID *Source,
UINT32 SourceSize,
UINT32 *DestinationSize
size_t SourceSize,
size_t *DestinationSize
)
{
UINT64 DecodedSize;
Expand Down Expand Up @@ -131,8 +131,11 @@ EFI_STATUS
EFIAPI
LzmaDecompress (
CONST VOID *Source,
UINT32 SourceSize,
VOID *Destination
size_t SourceSize,
VOID *Destination,
size_t _DestinationSize,
VOID *_Scratch,
size_t _ScratchSize
)
{
SRes LzmaResult;
Expand Down

0 comments on commit df5d927

Please sign in to comment.