target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS})
-diff --git a/pv/view/decodetrace.cpp b/pv/view/decodetrace.cpp
-index e4f0276..861d25b 100644
---- a/pv/view/decodetrace.cpp
-+++ b/pv/view/decodetrace.cpp
-@@ -373,7 +373,7 @@ void DecodeTrace::draw_instant(const pv::data::decode::Annotation &a, QPainter &
- {
- const QString text = a.annotations().empty() ?
- QString() : a.annotations().back();
-- const double w = min(p.boundingRect(QRectF(), 0, text).width(),
-+ const double w = min((double)p.boundingRect(QRectF(), 0, text).width(),
- 0.0) + h;
- const QRectF rect(x - w / 2, y - h / 2, w, h);
-
diff --git a/main.cpp b/main.cpp
index 2c6a59e..79627db 100644
--- a/main.cpp 2014-04-26 23:40:24.253187700 +0200