From: Milian Wolff Date: Wed, 8 Jul 2015 16:13:49 +0000 (+0200) Subject: Also fix building of the gui on 32bit X-Git-Tag: submit/tizen/20180620.112952^2~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f06b9cf7d7f377456fdc74a06c3d4680d4bb6b04;p=sdk%2Ftools%2Fheaptrack.git Also fix building of the gui on 32bit --- diff --git a/gui/parser.cpp b/gui/parser.cpp index 29cc1c3..84d54eb 100644 --- a/gui/parser.cpp +++ b/gui/parser.cpp @@ -39,7 +39,7 @@ struct ParserData final : public AccumulatedTraceData chartData.push_back({0, 0, 0, 0}); } - void handleTimeStamp(size_t /*newStamp*/, size_t oldStamp) + void handleTimeStamp(uint64_t /*newStamp*/, uint64_t oldStamp) { maxLeakedSinceLastTimeStamp = max(maxLeakedSinceLastTimeStamp, leaked); chartData.push_back({oldStamp, maxLeakedSinceLastTimeStamp, totalAllocations, totalAllocated}); @@ -59,7 +59,7 @@ struct ParserData final : public AccumulatedTraceData string debuggee; ChartData chartData; - size_t maxLeakedSinceLastTimeStamp = 0; + uint64_t maxLeakedSinceLastTimeStamp = 0; }; QString generateSummary(const ParserData& data)