From 4766b404d5fa96fbb23a121cbe01336d1eb7dd29 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 07:48:51 +0100 Subject: fix msvc --- serialize/packbits.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'serialize') diff --git a/serialize/packbits.cpp b/serialize/packbits.cpp index 701cc121..1428b203 100644 --- a/serialize/packbits.cpp +++ b/serialize/packbits.cpp @@ -12,10 +12,10 @@ constexpr bool test1() constexpr size_t bits[] = { 5, 2, 1, 0 }; constexpr size_t vals[] = { 3, 1, 0 }; - constexpr auto S0 = Storage{0b10111011uz}; - constexpr auto S1 = Storage{0b00000101uz}; - constexpr auto S2 = Storage{0b00000001uz}; - constexpr auto S3 = Storage{0b00000000uz}; + constexpr auto S0 = Storage{0b10111011}; + constexpr auto S1 = Storage{0b00000101}; + constexpr auto S2 = Storage{0b00000001}; + constexpr auto S3 = Storage{0b00000000}; using P0 = std::decay_t; using P1 = P0::next; -- cgit v1.2.3