From 14a55ee244224e884941ec33f0459661e3a768a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Sat, 14 Sep 2024 20:27:10 +0300 Subject: [PATCH] =?UTF-8?q?mdbx++:=20=D0=BF=D0=BE=D0=B4=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BD=D0=BE?= =?UTF-8?q?=D0=B8=D0=B4=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D1=83=D0=BF=D1=80=D0=B5=D0=B6=D0=B4=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20MSVC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mdbx.h++ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdbx.h++ b/mdbx.h++ index fe92607a..91ac0b70 100644 --- a/mdbx.h++ +++ b/mdbx.h++ @@ -1736,7 +1736,7 @@ private: return capacity_bytes < sizeof(bin); } - enum : byte { lastbyte_inplace_signature = byte(~0u) }; + enum : byte { lastbyte_inplace_signature = byte(~byte(0)) }; enum : size_t { inplace_signature_limit = size_t(lastbyte_inplace_signature)