Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/54726 )
Change subject: option.h: Correct `get_uint_option` return type ......................................................................
option.h: Correct `get_uint_option` return type
Commit 88dcb3179b4b (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 --- M src/include/option.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/54726/1
diff --git a/src/include/option.h b/src/include/option.h index 8316bd8..74a6bbb 100644 --- a/src/include/option.h +++ b/src/include/option.h @@ -18,7 +18,7 @@ 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;