From d65df5d4d4a1d46434944482ae92bf1b162c6985 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 11 Apr 2012 13:28:57 -0700 Subject: [PATCH] rustsyntax: i64, not int --- src/librustsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustsyntax/parse/parser.rs b/src/librustsyntax/parse/parser.rs index d6bb9dcd7ff..01224845338 100644 --- a/src/librustsyntax/parse/parser.rs +++ b/src/librustsyntax/parse/parser.rs @@ -706,7 +706,7 @@ fn maybe_parse_vstore(p: parser) -> option { token::UNDERSCORE { p.bump(); some(ast::vstore_fixed(none)) } - token::LIT_INT(i, ast::ty_i) if i >= 0 { + token::LIT_INT(i, ast::ty_i) if i >= 0i64 { p.bump(); some(ast::vstore_fixed(some(i as uint))) } token::BINOP(token::AND) {