Skip to content

Commit 938d49a

Browse files
committed
Fix missing cast in WindowsLibraryLoader
1 parent 56a1ed1 commit 938d49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/WindowsLibraryLoader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace LibraryLoader
1717
void CloseLibrary(handle *handle)
1818
{
1919
if (handle)
20-
FreeLibrary(handle);
20+
FreeLibrary(reinterpret_cast<HMODULE>(handle));
2121
}
2222

2323
handle* GetCurrentProcessHandle()

0 commit comments

Comments
 (0)