From 39750254e18c91ed68b11eb162c3f2445c36c833 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 11 Jul 2009 22:32:37 +0000 Subject: [PATCH] silence vc++ warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75394 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-mc/AsmParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1