diff --git a/src/include/option.h b/src/include/option.h index 8316bd842c..74a6bbbfc2 100644 --- a/src/include/option.h +++ b/src/include/option.h @@ -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;