Skip to content

Commit d65df5d

Browse files
committed
rustsyntax: i64, not int
1 parent f34eae8 commit d65df5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ fn maybe_parse_vstore(p: parser) -> option<ast::vstore> {
706706
token::UNDERSCORE {
707707
p.bump(); some(ast::vstore_fixed(none))
708708
}
709-
token::LIT_INT(i, ast::ty_i) if i >= 0 {
709+
token::LIT_INT(i, ast::ty_i) if i >= 0i64 {
710710
p.bump(); some(ast::vstore_fixed(some(i as uint)))
711711
}
712712
token::BINOP(token::AND) {

0 commit comments

Comments
 (0)