diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-10-21 11:22:57 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-11-03 15:23:06 +0000 |
commit | 8eed67b3ab1a30dc71a5c279b2c10234a2b41a77 (patch) | |
tree | bd489e3fe8a553b53abd4eeb54a9b4ffbf194760 /src/device/root_device.c | |
parent | 11015342b4fb7a799bfdf7529da2f190ad2c447c (diff) | |
download | coreboot-8eed67b3ab1a30dc71a5c279b2c10234a2b41a77.tar.xz |
drivers/intel/fsp2_0/hob_verify: Correct conversion specifier
Use the correct conversion specifier for `size_t` to fix the error
below.
```
src/drivers/intel/fsp2_0/hob_verify.c:31:4: error: format '%lx' expects \
argument of type 'long unsigned int', but argument 4 has type \
'size_t {aka unsigned int}' [-Werror=format=]
"FSP_BOOTLOADER_TOLUM_SIZE: 0x%08llx < 0x%08lx\n",
^
range_entry_size(&tolum), cbmem_overhead_size());
~~~~~~~~~~~~~~~~~~~~~
```
Found-by: gcc (Debian 7.2.0-8) 7.2.0
Change-Id: I4631672211095f9934925e9bd230ccbf63c736af
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/22131
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/device/root_device.c')
0 files changed, 0 insertions, 0 deletions