mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Explicitly require long long abs().
This commit is contained in:
parent
abaa0e8f6e
commit
37c76edcd8
@ -259,7 +259,7 @@ const char* MemSizeToString( int64_t val )
|
|||||||
char* buf = bufpool[bufsel];
|
char* buf = bufpool[bufsel];
|
||||||
bufsel = ( bufsel + 1 ) % Pool;
|
bufsel = ( bufsel + 1 ) % Pool;
|
||||||
|
|
||||||
const auto aval = abs( val );
|
const auto aval = llabs( val );
|
||||||
|
|
||||||
if( aval < 10000ll )
|
if( aval < 10000ll )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user