diff options
| author | Steve McIntyre <steve@einval.com> | 2022-04-28 11:37:12 +0100 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2022-05-04 14:54:49 -0400 |
| commit | b5185cbddd8cc678414d3fddcbbcff366444b21a (patch) | |
| tree | c3f3a25474085dbe70f501ab8a90fba4289875ca /include | |
| parent | 38cc646b099f995a59390cf27e1411c8da9839ad (diff) | |
| download | efi-boot-shim-b5185cbddd8cc678414d3fddcbbcff366444b21a.tar.gz efi-boot-shim-b5185cbddd8cc678414d3fddcbbcff366444b21a.zip | |
post-process-pe: Fix format string warnings on 32-bit platforms
With -Werror these were causing build failures with stricter gcc:
.../post-process-pe.c: In function 'load_pe':
.../post-process-pe.c:177:55: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
.../post-process-pe.c:192:56: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'UINT64' {aka 'long long unsigned int'} [-Werror=format=]
.../post-process-pe.c:236:31: error: format '%zu' expects argument of type 'size_t', but argument 2 has type 'UINT64' {aka 'long long unsigned int'} [-Werror=format=]
.../post-process-pe.c:39:32: note: in definition of macro 'debug'
.../post-process-pe.c:236:60: note: format string is defined here
.../post-process-pe.c:240:31: error: format '%zu' expects argument of type 'size_t', but argument 2 has type 'UINT64' {aka 'long long unsigned int'} [-Werror=format=]
.../post-process-pe.c:39:32: note: in definition of macro 'debug'
.../post-process-pe.c:240:60: note: format string is defined here
.../post-process-pe.c:274:30: error: format '%zu' expects argument of type 'size_t', but argument 2 has type 'UINTN' {aka 'long unsigned int'} [-Werror=format=]
.../post-process-pe.c:39:32: note: in definition of macro 'debug'
.../post-process-pe.c:274:34: note: format string is defined here
Signed-off-by: Steve McIntyre <steve@einval.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
