From 4c8e35e0f83ea6a1e1eaa3a478fc36a75eea6972 Mon Sep 17 00:00:00 2001 From: rcxpony Date: Mon, 10 Mar 2025 21:24:29 +0500 Subject: [PATCH] fixes --- sources/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/main.cpp b/sources/main.cpp index 92980e7..07dc009 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -59,7 +59,7 @@ inline std::string getAddress(const Address& rawAddr) noexcept { inline std::string KeyToString(const unsigned char* key) noexcept { char result[65]; const char* hexDigits = "0123456789abcdef"; - for (size_t i = 0; i < 32; ++i) { + for (unsigned char i = 0; i < 32; i++) { result[2 * i] = hexDigits[key[i] >> 4]; result[2 * i + 1] = hexDigits[key[i] & 0x0F]; }