Skip to content

Commit 5437a04

Browse files
committed
rustc: Remove a bitcast. Issue #2276
1 parent 31853f3 commit 5437a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ fn trans_native_call(cx: block, externs: hashmap<str, ValueRef>,
223223
get_simple_extern_fn(cx, externs, llmod, name, n);
224224
let mut call_args: [ValueRef] = [];
225225
for vec::each(args) {|a|
226-
call_args += [ZExtOrBitCast(cx, a, cx.ccx().int_type)];
226+
call_args += [a];
227227
}
228228
ret Call(cx, llnative, call_args);
229229
}

0 commit comments

Comments
 (0)