Skip to content

Commit 72e24f3

Browse files
[MC] Remove an unnecessary cast (NFC) (#146251)
1 parent 8a4b6cd commit 72e24f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/MC/MCDwarf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ struct CIEKey {
18791879
unsigned LsdaEncoding = -1;
18801880
bool IsSignalFrame = false;
18811881
bool IsSimple = false;
1882-
unsigned RAReg = static_cast<unsigned>(UINT_MAX);
1882+
unsigned RAReg = UINT_MAX;
18831883
bool IsBKeyFrame = false;
18841884
bool IsMTETaggedFrame = false;
18851885
};

0 commit comments

Comments
 (0)