From: Chris Lattner Date: Sat, 11 Jul 2009 22:32:37 +0000 (+0000) Subject: silence vc++ warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=39750254e18c91ed68b11eb162c3f2445c36c833;p=oota-llvm.git silence vc++ warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75394 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index 1d9e1b6cac9..a2cdea4c4dc 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp @@ -850,7 +850,7 @@ bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) { // Compute alignment in bytes. if (IsPow2) { // FIXME: Diagnose overflow. - Alignment = 1 << Alignment; + Alignment = 1LL << Alignment; } // Diagnose non-sensical max bytes to fill.