瀏覽代碼

8-bit integers are 1 byte long, not 8...

tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
2b97d2ebc5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/core/settings.c

+ 1
- 1
src/core/settings.c 查看文件

@@ -345,7 +345,7 @@ static int set_int ( struct config_context *context,
345 345
 static int set_int8 ( struct config_context *context,
346 346
 			   struct config_setting *setting,
347 347
 			   const char *value ) {
348
-	return set_int ( context, setting, value, 8 );
348
+	return set_int ( context, setting, value, 1 );
349 349
 }
350 350
 
351 351
 /** An 8-bit integer configuration setting */

Loading…
取消
儲存