Skip to content

Commit

Permalink
8-bit integers are 1 byte long, not 8...
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Dec 20, 2006
1 parent e4f4896 commit 2b97d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/settings.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 2b97d2e

Please sign in to comment.