diff --git a/src/mdbx_chk.c b/src/mdbx_chk.c index 19d50f8c..008de33c 100644 --- a/src/mdbx_chk.c +++ b/src/mdbx_chk.c @@ -153,6 +153,10 @@ static const char *sdb_name(const MDBX_val *val) { return ""; if (len > 65536) { static char buf[64]; + /* NOTE: There is MSYS2 MinGW bug if you here got + * the "unknown conversion type character ā€˜zā€™ in format [-Werror=format=]" + * https://stackoverflow.com/questions/74504432/whats-the-proper-way-to-tell-mingw-based-gcc-to-use-ansi-stdio-output-on-windo + */ snprintf(buf, sizeof(buf), "", len); return buf; }