mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Can't read negative number of bytes.
This completely ignores error handling, which probably should be added. The code behavior doesn't change, as the existing comparisons and asserts already promoted the signed value to unsigned.
This commit is contained in:
@@ -295,7 +295,7 @@ int main( int argc, char** argv )
|
||||
else
|
||||
{
|
||||
tracy::IpAddress addr;
|
||||
int len;
|
||||
size_t len;
|
||||
auto msg = broadcastListen->Read( len, addr );
|
||||
if( msg )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user