From de0ade493900c0e5c9ebe1f795699b5a9d9f360b Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 16 Apr 2010 23:30:28 +0000 Subject: [PATCH] Cast to (uint64_t) instead of relying on the "ul" suffix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101573 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp index 5eda8e14bbd..0301643970b 100644 --- a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp +++ b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp @@ -2104,7 +2104,7 @@ static uint64_t decodeN1VImm(uint32_t insn, ElemSize esize) { case ESize64: { for (unsigned i = 0; i < 8; ++i) if ((Imm8 >> i) & 1) - Imm64 |= 0xFFul << 8*i; + Imm64 |= (uint64_t)0xFF << 8*i; break; } default: