From 40d5097d99c7a61b47bafad2fe097c919634de28 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 28 Jan 2023 10:27:40 +0100 Subject: [PATCH] fixed sign-conversion warning in Neon group15::match --- include/boost/unordered/detail/foa.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index fe3f8876..62038f95 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1,6 +1,6 @@ /* Fast open-addressing hash table. * - * Copyright 2022 Joaquin M Lopez Munoz. + * Copyright 2022-2023 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -345,8 +345,8 @@ struct group15 inline int match(std::size_t hash)const { - return simde_mm_movemask_epi8( - vceqq_s8(m,vdupq_n_s8(reduced_hash(hash))))&0x7FFF; + return simde_mm_movemask_epi8(vceqq_s8( + m,vdupq_n_s8(static_cast(reduced_hash(hash)))))&0x7FFF; } inline bool is_not_overflowed(std::size_t hash)const