mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix type in comparison.
This commit is contained in:
parent
936f03fa9e
commit
5e48eebf26
@ -3246,7 +3246,7 @@ void Profiler::HandleSourceCodeQuery()
|
|||||||
auto ptr = (char*)tracy_malloc( st.st_size );
|
auto ptr = (char*)tracy_malloc( st.st_size );
|
||||||
auto rd = fread( ptr, 1, st.st_size, f );
|
auto rd = fread( ptr, 1, st.st_size, f );
|
||||||
fclose( f );
|
fclose( f );
|
||||||
if( rd == st.st_size )
|
if( rd == (size_t)st.st_size )
|
||||||
{
|
{
|
||||||
SendLongString( (uint64_t)ptr, ptr, rd, QueueType::SourceCode );
|
SendLongString( (uint64_t)ptr, ptr, rd, QueueType::SourceCode );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user