diff options
Diffstat (limited to 'source/core/slang-platform.cpp')
| -rw-r--r-- | source/core/slang-platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-platform.cpp b/source/core/slang-platform.cpp index 79b883e39..51f6b97c7 100644 --- a/source/core/slang-platform.cpp +++ b/source/core/slang-platform.cpp @@ -157,7 +157,7 @@ SLANG_COMPILE_TIME_ASSERT(E_OUTOFMEMORY == SLANG_E_OUT_OF_MEMORY); /* static */ void* SharedLibrary::findSymbolAddressByName(Handle handle, char const* name) { SLANG_ASSERT(handle); - return GetProcAddress((HMODULE)handle, name); + return reinterpret_cast<void*>(GetProcAddress((HMODULE)handle, name)); } /* static */ void SharedLibrary::appendPlatformFileName( |
