From 9ac90115d87ffc3ec31db7bf0f740a390e87062c Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 28 Aug 2015 18:59:43 +0300 Subject: [PATCH] fix for os x build, 0.8.53.dev --- Telegram/SourceFiles/overviewwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/overviewwidget.cpp b/Telegram/SourceFiles/overviewwidget.cpp index 26f0b98595..951fb8911f 100644 --- a/Telegram/SourceFiles/overviewwidget.cpp +++ b/Telegram/SourceFiles/overviewwidget.cpp @@ -68,7 +68,7 @@ OverviewInner::CachedLink::CachedLink(HistoryItem *item) : text(st::msgMinWidth) till = msgText.size(); } if (till > from) { - TextParseOptions opts = { TextParseMultiline, st::linksMaxWidth, 3 * st::msgFont->height, Qt::LayoutDirectionAuto }; + TextParseOptions opts = { TextParseMultiline, int32(st::linksMaxWidth), 3 * st::msgFont->height, Qt::LayoutDirectionAuto }; text.setText(st::msgFont, msgText.mid(from, till - from), opts); } if (page && page->photo) {