From 4c878e570010dcb1b1c4318ff56e8b15b542b336 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 7 Jul 2021 17:34:09 +0200 Subject: [PATCH] smallstring: Avoid size_t to (u)int warning Change-Id: If206f0e3a90694b4e0d50e2d4569e0d6a34cf8ce Reviewed-by: Tim Jenssen --- src/libs/utils/smallstringio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/smallstringio.h b/src/libs/utils/smallstringio.h index 2ab190da345..10690f8ad85 100644 --- a/src/libs/utils/smallstringio.h +++ b/src/libs/utils/smallstringio.h @@ -155,7 +155,7 @@ namespace std { template<> struct hash { using argument_type = Utils::SmallString; - using result_type = uint; + using result_type = std::size_t; result_type operator()(const argument_type& string) const { return qHashBits(string.data(), string.size());