Skip to content

Commit

Permalink
rustc: Remove a bitcast. Issue #2276
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Apr 24, 2012
1 parent 31853f3 commit 5437a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustc/middle/trans/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ fn trans_native_call(cx: block, externs: hashmap<str, ValueRef>,
get_simple_extern_fn(cx, externs, llmod, name, n);
let mut call_args: [ValueRef] = [];
for vec::each(args) {|a|
call_args += [ZExtOrBitCast(cx, a, cx.ccx().int_type)];
call_args += [a];
}
ret Call(cx, llnative, call_args);
}
Expand Down

0 comments on commit 5437a04

Please sign in to comment.