Skip to content

Commit 47120f7

Browse files
committed
---
yaml --- r: 6279 b: refs/heads/master c: a7188a6 h: refs/heads/master i: 6277: a6d4b80 6275: 2da7622 6271: ea279e1 v: v3
1 parent deb9b33 commit 47120f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: f47f92235acd84e42cce4e31b36f507a460b0f53
2+
refs/heads/master: a7188a6577518475cbeafffb5551b2835f2ec91d

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@ fn store_temp_expr(cx: @block_ctxt, action: copy_action, dst: ValueRef,
21242124
fn trans_crate_lit(cx: @crate_ctxt, lit: ast::lit) -> ValueRef {
21252125
alt lit.node {
21262126
ast::lit_int(i) { ret C_int(cx, i); }
2127-
ast::lit_uint(u) { ret C_int(cx, u as int); }
2127+
ast::lit_uint(u) { ret C_uint(cx, u); }
21282128
ast::lit_mach_int(tm, i) {
21292129
// FIXME: the entire handling of mach types falls apart
21302130
// if target int width is larger than host, at the moment;

0 commit comments

Comments
 (0)