We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b395d commit b6df5a5Copy full SHA for b6df5a5
libcxx/src/atomic.cpp
@@ -129,7 +129,7 @@ static void* win32_get_synch_api_function(const char* function_name) {
129
// Attempt to locate the function in the API and return the result to the caller. Note that the NULL return from this
130
// method is documented as being interchangeable with nullptr.
131
// https://devblogs.microsoft.com/oldnewthing/20180307-00/?p=98175
132
- return GetProcAddress(module_handle.get(), function_name);
+ return reinterpret_cast<void*>(GetProcAddress(module_handle, function_name));
133
}
134
135
static void
0 commit comments