about summary refs log tree commit diff
path: root/src/librustsyntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-04-11 13:28:57 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-11 13:28:57 -0700
commitd65df5d4d4a1d46434944482ae92bf1b162c6985 (patch)
tree0bfe352439e096094c849604f4d0a071bc31322f /src/librustsyntax/parse
parentf34eae8802b327c23984bfef02312ce1c64a6581 (diff)
downloadrust-d65df5d4d4a1d46434944482ae92bf1b162c6985.tar.gz
rust-d65df5d4d4a1d46434944482ae92bf1b162c6985.zip
rustsyntax: i64, not int
Diffstat (limited to 'src/librustsyntax/parse')
-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) {