We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af4c7f commit 0dbd39aCopy full SHA for 0dbd39a
llvm/lib/Target/BPF/BTFDebug.cpp
@@ -235,7 +235,7 @@ void BTFTypeEnum64::completeType(BTFDebug &BDebug) {
235
BTFEnum.NameOff = BDebug.addString(Enum->getName());
236
uint64_t Value;
237
if (Enum->isUnsigned())
238
- Value = static_cast<uint64_t>(Enum->getValue().getZExtValue());
+ Value = Enum->getValue().getZExtValue();
239
else
240
Value = static_cast<uint64_t>(Enum->getValue().getSExtValue());
241
BTFEnum.Val_Lo32 = Value;
0 commit comments