From cd7e737149f67a46e9ace5bc6dee95bbb614909d Mon Sep 17 00:00:00 2001 From: zhanghj Date: Mon, 21 Sep 2020 05:40:57 -0400 Subject: [PATCH] lib: fix compiling error for type i8 in aarch64 environment c_char is equal to i8 on x86, but it is equal to u8 on arm arch, so we need to use type c_char instead of i8 to avoid compiling error. Fixes: #9 Signed-off-by: zhanghj --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 222dbc2..c910371 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -766,7 +766,7 @@ pub fn nested_keyed_to_hashmap(mut file: File) -> Result