mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
No signed left shifts.
This commit is contained in:
parent
c54dc10464
commit
366153a94f
@ -135,7 +135,7 @@ public:
|
||||
memcpy( &hi, m_val+4, 2 );
|
||||
uint32_t lo;
|
||||
memcpy( &lo, m_val, 4 );
|
||||
return ( int64_t( hi ) << 32 ) | lo;
|
||||
return ( int64_t( uint64_t( hi ) << 32 ) ) | lo;
|
||||
}
|
||||
|
||||
tracy_force_inline bool IsNonNegative() const
|
||||
|
Loading…
Reference in New Issue
Block a user