Skip to content

Commit 35f5cae

Browse files
authored
[NFC] Corrected data type (#84880)
On windows, "&Method.first" is of type "unsigned long long *", and a type conversion error occurs.
1 parent 122d368 commit 35f5cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void registerJITLoaderVTuneUnregisterImpl(
8787
for (auto &Method : UM) {
8888
JITEventWrapper::Wrapper->iJIT_NotifyEvent(
8989
iJVM_EVENT_TYPE_METHOD_UNLOAD_START,
90-
const_cast<unsigned long *>(&Method.first));
90+
const_cast<uint64_t *>(&Method.first));
9191
}
9292
}
9393

0 commit comments

Comments
 (0)