0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +08:00

Mac build

This commit is contained in:
Sergey Yagovtsev 2019-11-28 10:34:53 +03:00
parent b29113f70b
commit 47c3ddc09f
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ void GraphicsHistogramItem::paintByPtr(QPainter* _painter)
}
_painter->setPen(profiler_gui::TEXT_COLOR);
const auto eventsCount = m_pProfilerThread->events.size();
const auto eventsCount = static_cast<uint64_t>(m_pProfilerThread->events.size());
const auto blocksCount = m_pProfilerThread->blocks_number - eventsCount;
QString durationsStr;

View File

@ -450,7 +450,7 @@ void TreeWidgetLoader::setTreeInternalTop(
"Please, reduce selected area width\n"
"or increase maximum count in settings\n"
"or change the tree mode."
).arg(profiler_gui::shortenCountString(_maxCount))
).arg(profiler_gui::shortenCountString(static_cast<uint64_t>(_maxCount)))
.arg(profiler_gui::shortenCountString(total_count))
.arg(profiler_gui::percent(total_count, _maxCount));
setDone();