8-bit integers are 1 byte long, not 8...
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 05:04:17 +0000 (05:04 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 05:04:17 +0000 (05:04 +0000)
src/core/settings.c

index 08b5afa..62c2609 100644 (file)
@@ -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 */