Skip to content

Commit 8183177

Browse files
Update ur_lib_loader.cpp
1 parent 09cb31a commit 8183177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/common/windows/ur_lib_loader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LibLoader::loadAdapterLibrary(const char *name) {
3030
}
3131

3232
void *LibLoader::getFunctionPtr(HMODULE handle, const char *func_name) {
33-
return GetProcAddress(handle, func_name);
33+
return reinterpret_cast<void *>(GetProcAddress(handle, func_name));
3434
}
3535

3636
} // namespace ur_loader

0 commit comments

Comments
 (0)