diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/string-literal-operator.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |