From 2eae8d8e84ee1e9a48c33eb84a30547e11b70323 Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Wed, 19 Jun 2024 09:42:00 +0200 Subject: [PATCH] Test --- compiler/extensions/cpp/runtime/src/zserio/TypeInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extensions/cpp/runtime/src/zserio/TypeInfo.h b/compiler/extensions/cpp/runtime/src/zserio/TypeInfo.h index 8dbb4e857..eb5e5e279 100644 --- a/compiler/extensions/cpp/runtime/src/zserio/TypeInfo.h +++ b/compiler/extensions/cpp/runtime/src/zserio/TypeInfo.h @@ -1440,7 +1440,7 @@ const IBasicTypeInfo& FixedSizeBuiltinTypeInfo::getFixedSignedBitF {"int:63"_sv, SchemaType::FIXED_SIGNED_BITFIELD, CppType::INT64, 63}, {"int:64"_sv, SchemaType::FIXED_SIGNED_BITFIELD, CppType::INT64, 64}}}; - return bitFieldTypeInfoArray[static_cast(bitSize - 1)]; + return bitFieldTypeInfoArray[bitSize - 1U]; } template