Skip to content

Commit

Permalink
Update ur_lib_loader.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
smaslov-intel committed Aug 11, 2023
1 parent 09cb31a commit 8183177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/windows/ur_lib_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LibLoader::loadAdapterLibrary(const char *name) {
}

void *LibLoader::getFunctionPtr(HMODULE handle, const char *func_name) {
return GetProcAddress(handle, func_name);
return reinterpret_cast<void *>(GetProcAddress(handle, func_name));
}

} // namespace ur_loader

0 comments on commit 8183177

Please sign in to comment.