Remove strict type to allow cross compiling

Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
This commit is contained in:
Kaan Karakaya committed 2023-03-07 21:46:53 +03:00
1 parent b10421a9b4
commit cb479bf199
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ mod _locale {
}
let mut ptr = group;
while ![0_i8, libc::c_char::MAX].contains(&*ptr) {
while ![0, libc::c_char::MAX].contains(&*ptr) {
let val = vm.ctx.new_int(*ptr);
group_vec.push(val.into());
ptr = ptr.add(1);