No signed left shifts.

This commit is contained in:
Bartosz Taudul 2020-04-14 02:16:32 +02:00
parent c54dc10464
commit 366153a94f

View File

@ -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