forked from Rust-related/RustPython
Merge pull request #4664 from TheYkk/main
Remove strict type to allow cross compiling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user