Skip to content

Commit 9c40bf1

Browse files
authored
Fix test failures on master (#87)
1 parent 8fb2e89 commit 9c40bf1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/out/refcount/va_arg_null_int_ptr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ use std::io::prelude::*;
66
use std::io::{Read, Seek, Write};
77
use std::os::fd::AsFd;
88
use std::rc::{Rc, Weak};
9-
pub fn first_nonnull_0(count: i32, args: &[VaArg]) -> i32 {
9+
pub fn first_nonnull_0(count: i32, __args: &[VaArg]) -> i32 {
1010
let count: Value<i32> = Rc::new(RefCell::new(count));
1111
let ap: Value<VaList> = Rc::new(RefCell::new(VaList::default()));
12-
(*ap.borrow_mut()) = VaList::new(args);
12+
(*ap.borrow_mut()) = VaList::new(__args);
1313
let result: Value<i32> = Rc::new(RefCell::new(-1_i32));
1414
let i: Value<i32> = Rc::new(RefCell::new(0));
1515
'loop_: while ((((*i.borrow()) < (*count.borrow())) as i32) != 0) {

tests/unit/out/unsafe/va_arg_null_int_ptr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ use std::collections::BTreeMap;
66
use std::io::{Read, Seek, Write};
77
use std::os::fd::{AsFd, FromRawFd, IntoRawFd};
88
use std::rc::Rc;
9-
pub unsafe fn first_nonnull_0(mut count: i32, args: &[VaArg]) -> i32 {
9+
pub unsafe fn first_nonnull_0(mut count: i32, __args: &[VaArg]) -> i32 {
1010
let mut ap: VaList = VaList::default();
11-
ap = VaList::new(args);
11+
ap = VaList::new(__args);
1212
let mut result: i32 = -1_i32;
1313
let mut i: i32 = 0;
1414
'loop_: while ((((i) < (count)) as i32) != 0) {

0 commit comments

Comments
 (0)