diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-11-11 21:55:26 +0100 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-11-21 01:26:35 +0000 |
commit | 98aa49b495c4c86d10a067a4b50a406a9057aea2 (patch) | |
tree | 7d703dd5635880693c72bf96c68f25cc00684c9d /s25f.c | |
parent | 56ebda534178940bde3ec10f8176b1835f2b5176 (diff) | |
download | flashrom-98aa49b495c4c86d10a067a4b50a406a9057aea2.tar.gz flashrom-98aa49b495c4c86d10a067a4b50a406a9057aea2.tar.bz2 flashrom-98aa49b495c4c86d10a067a4b50a406a9057aea2.zip |
cli_classic.c: Be consistent with pointer types
With `i586-pc-msdosdjgpp-gcc (GCC) 12.2.0`, `uint32_t` is defined as
`long unsigned int`, which is not the same as `unsigned int`. As the
`flashrom_layout_get_region_range()` function is part of libflashrom
API, adjust `cli_classic.c` instead to avoid type mismatches.
Change-Id: Ie8f5bc0d9296f7c6b8f8a351b53052f5fe86b09d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69451
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Evan Benn <evanbenn@google.com>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 's25f.c')
0 files changed, 0 insertions, 0 deletions