mirror of https://github.com/ipxe/ipxe.git
8-bit integers are 1 byte long, not 8...
parent
e4f489636f
commit
2b97d2ebc5
|
@ -345,7 +345,7 @@ static int set_int ( struct config_context *context,
|
|||
static int set_int8 ( struct config_context *context,
|
||||
struct config_setting *setting,
|
||||
const char *value ) {
|
||||
return set_int ( context, setting, value, 8 );
|
||||
return set_int ( context, setting, value, 1 );
|
||||
}
|
||||
|
||||
/** An 8-bit integer configuration setting */
|
||||
|
|
Loading…
Reference in New Issue