mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 01:21:10 +03:00
8-bit integers are 1 byte long, not 8...
This commit is contained in:
@@ -345,7 +345,7 @@ static int set_int ( struct config_context *context,
|
|||||||
static int set_int8 ( struct config_context *context,
|
static int set_int8 ( struct config_context *context,
|
||||||
struct config_setting *setting,
|
struct config_setting *setting,
|
||||||
const char *value ) {
|
const char *value ) {
|
||||||
return set_int ( context, setting, value, 8 );
|
return set_int ( context, setting, value, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/** An 8-bit integer configuration setting */
|
/** An 8-bit integer configuration setting */
|
||||||
|
|||||||
Reference in New Issue
Block a user