From 1c93b24a0f750ddca2d8a929f4836f520671618e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 17 Jan 2018 02:03:02 +0100 Subject: fix build --- compat/string-literal-operator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat/string-literal-operator.hpp') diff --git a/compat/string-literal-operator.hpp b/compat/string-literal-operator.hpp index 3ea4eb11..e957803c 100644 --- a/compat/string-literal-operator.hpp +++ b/compat/string-literal-operator.hpp @@ -5,5 +5,5 @@ static inline constexpr auto operator"" _qstr(const char* str, std::size_t N) { - return QLatin1String(str, str + N); + return QLatin1String(str, int(N)); } -- cgit v1.2.3