From 37c76edcd869d45ccc4233b06e5fc7c374622a96 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 25 Jul 2019 18:36:27 +0200 Subject: [PATCH] Explicitly require long long abs(). --- server/TracyPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {