option.h: Correct `get_uint_option` return type
Commit 88dcb3179b
(src: Retype option API to use unsigned integers)
changed the option API to use unsigned integers, but missed this.
Change-Id: I5deb17157db41c40cc72078e2af9cf65bdbe0581
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54726
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
a081583e3d
commit
b2a4c27a2f
|
@ -18,7 +18,7 @@ static inline enum cb_err set_uint_option(const char *name, unsigned int value)
|
|||
return CB_CMOS_OTABLE_DISABLED;
|
||||
}
|
||||
|
||||
static inline int get_uint_option(const char *name, const unsigned int fallback)
|
||||
static inline unsigned int get_uint_option(const char *name, const unsigned int fallback)
|
||||
{
|
||||
if (CONFIG(USE_OPTION_TABLE)) {
|
||||
unsigned int value = 0;
|
||||
|
|
Loading…
Reference in New Issue