From 82e4660ae9fb8ca4d48c2f866348ae016f8739d0 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 22 Mar 2016 22:50:14 +0300 Subject: [PATCH] fixed build for clang and g++ --- Telegram/SourceFiles/history.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history.h b/Telegram/SourceFiles/history.h index 5520aeccd5..b7e3e373d3 100644 --- a/Telegram/SourceFiles/history.h +++ b/Telegram/SourceFiles/history.h @@ -2519,7 +2519,7 @@ protected: } void paintForwardedInfo(Painter &p, int32 x, int32 y, int32 w, bool selected) const; - Text _text = { st::msgMinWidth }; + Text _text = { int(st::msgMinWidth) }; int _textWidth = 0; int _textHeight = 0;