Skip to content

Commit

Permalink
Merge pull request #802 from smaslov-intel/smaslov-intel-patch-1-1
Browse files Browse the repository at this point in the history
Address #800
  • Loading branch information
igchor authored Aug 14, 2023
2 parents 09cb31a + 8183177 commit 47b6386
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 47b6386

Please sign in to comment.