mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use proper type.
This commit is contained in:
parent
707f113bda
commit
c3870f8837
@ -248,7 +248,7 @@ void SysTraceSendExternalName( uint64_t thread )
|
||||
if( _EnumProcessModules( phnd, modules, 1024 * sizeof( HMODULE ), &needed ) != 0 )
|
||||
{
|
||||
const auto sz = std::min( DWORD( needed / sizeof( HMODULE ) ), DWORD( 1024 ) );
|
||||
for( int i=0; i<sz; i++ )
|
||||
for( DWORD i=0; i<sz; i++ )
|
||||
{
|
||||
MODULEINFO info;
|
||||
if( _GetModuleInformation( phnd, modules[i], &info, sizeof( info ) ) != 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user