commit | 12fd767ed819e3ea34670cc6f3e790bd0d88ee94 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Sep 06 09:35:10 2009 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Sep 06 09:35:10 2009 +0000 |
tree | 07b37544117f9776725cde81c1e93bff0364d030 | |
parent | 5b7c3567a16340153f9f2074199ff4877e0c283d [diff] [blame] |
Fix an integer truncation noticed by MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81109 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index a782561..f51f43a 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp
@@ -1111,7 +1111,7 @@ Alignment = 31; } - Alignment = 1 << Alignment; + Alignment = 1ULL << Alignment; } // Diagnose non-sensical max bytes to align.