From 2945278eb5bc5a58f79b07cb216138dd1db13030 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Mon, 30 May 2022 15:42:35 +0200 Subject: [PATCH] :construction: (FIXES): Try fix implicit conversion --- libs/Utils/include/MemoryUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Utils/include/MemoryUtils.h b/libs/Utils/include/MemoryUtils.h index 777e55b955..30b35db947 100644 --- a/libs/Utils/include/MemoryUtils.h +++ b/libs/Utils/include/MemoryUtils.h @@ -28,7 +28,7 @@ constexpr auto combineBytes(TwoBytes bytes) noexcept -> uint16_t auto both = uint16_t {}; both = bytes.high; - both = both << 8; + both = both << uint16_t {8}; both |= bytes.low; return both;