diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-07-25 19:36:27 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-07-25 19:36:27 +0300 |
commit | 37c76edcd869d45ccc4233b06e5fc7c374622a96 (patch) | |
tree | bbb7528dc89dd403e8730109286e6d7366269690 /server/TracyPrint.cpp | |
parent | abaa0e8f6e478557fb830ebd695ec5db40ea10a9 (diff) |
Explicitly require long long abs().
Diffstat (limited to 'server/TracyPrint.cpp')
-rw-r--r-- | server/TracyPrint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyPrint.cpp b/server/TracyPrint.cpp index 6cdb9532..e3e17aa7 100644 --- a/server/TracyPrint.cpp +++ b/server/TracyPrint.cpp @@ -259,7 +259,7 @@ const char* MemSizeToString( int64_t val ) char* buf = bufpool[bufsel]; bufsel = ( bufsel + 1 ) % Pool; - const auto aval = abs( val ); + const auto aval = llabs( val ); if( aval < 10000ll ) { |