diff --git a/src/header/locale/data.rs b/src/header/locale/data.rs index db81a0ea6e..128f39a184 100644 --- a/src/header/locale/data.rs +++ b/src/header/locale/data.rs @@ -363,7 +363,7 @@ impl PosixLocaleDef { fn parse_int(val: &str) -> Option { let r = val.trim().parse::().ok(); // c_char is u8 on aarch64 and riscv64 so comparison is useless - #[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))] + #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] if r.is_some_and(|i| i < 0) { return None; }