Skip to content

Commit c75bf4c

Browse files
committed
Fix va_list generation
1 parent a47d797 commit c75bf4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alpm/src/cb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ extern "C" {
1010
fn vasprintf(str: *const *mut c_char, fmt: *const c_char, args: VaList) -> c_int;
1111
}
1212

13-
#[cfg(not(any(target_arch = "aarch64", target_arch = "aarch64")))]
13+
#[cfg(not(any(target_arch = "aarch64", target_arch = "arm")))]
1414
pub type VaList = *mut __va_list_tag;
15-
#[cfg(any(target_arch = "aarch64", target_arch = "aarch64"))]
15+
#[cfg(any(target_arch = "aarch64", target_arch = "arm"))]
1616
pub type VaList = va_list;
1717

1818
type Cb<T> = UnsafeCell<Option<Box<T>>>;

0 commit comments

Comments
 (0)