mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Cast GetProcAddress() ptr to const void*.
This commit is contained in:
parent
199b6ba798
commit
4731bb9ec1
@ -3215,7 +3215,7 @@ void Profiler::HandleSymbolQueueItem( const SymbolQueueItem& si )
|
||||
auto hnd = LoadLibraryExA( mod, nullptr, DONT_RESOLVE_DLL_REFERENCES );
|
||||
if( hnd )
|
||||
{
|
||||
auto ptr = GetProcAddress( hnd, fn );
|
||||
auto ptr = (const void*)GetProcAddress( hnd, fn );
|
||||
if( ptr )
|
||||
{
|
||||
auto buf = (char*)tracy_malloc( si.extra );
|
||||
|
Loading…
Reference in New Issue
Block a user