mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 19:32:41 +00:00
Merge pull request #14212 from cscd98/cast-func
mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
This commit is contained in:
commit
0d359e23da
@ -223,7 +223,7 @@ void* GLContextWGL::GetFuncAddress(const std::string& name)
|
||||
func = GetProcAddress(opengl_module, name.c_str());
|
||||
}
|
||||
|
||||
return func;
|
||||
return reinterpret_cast<void*>(func);
|
||||
}
|
||||
|
||||
// Create rendering window.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user