Skip to content

Commit 1c7fda9

Browse files
committed
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
1 parent 8ae9c62 commit 1c7fda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-readobj/ELFDumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5157,7 +5157,7 @@ static bool printAArch64PAuthABICoreInfo(raw_ostream &OS, uint32_t DataSize,
51575157

51585158
std::string Desc;
51595159
for (uint32_t I = 0, End = Flags.size(); I < End; ++I) {
5160-
if (!(Version & (1 << I)))
5160+
if (!(Version & (1ULL << I)))
51615161
Desc += '!';
51625162
Desc +=
51635163
Twine("PointerAuth" + Flags[I] + (I == End - 1 ? "" : ", ")).str();

0 commit comments

Comments
 (0)