about summary refs log tree commit diff
path: root/src/librustsyntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustsyntax/parse/parser.rs')
-rw-r--r--src/librustsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
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<ast::vstore> {
           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) {