fixing C/C++ CI errors
This commit is contained in:
+2
-2
@@ -179,7 +179,7 @@ bool Wallet::decode(const char* address)
|
||||
}
|
||||
|
||||
char hex_buf[32];
|
||||
snprintf(hex_buf, sizeof(hex_buf), "0x%lx", tag);
|
||||
snprintf(hex_buf, sizeof(hex_buf), "0x%llx", static_cast<unsigned long long>(tag));
|
||||
|
||||
m_prefix = tag;
|
||||
|
||||
@@ -211,7 +211,7 @@ bool Wallet::decode(const char* address)
|
||||
for (int i = 0; i < std::min(data_index, 80); i++) {
|
||||
sprintf(data_hex + i*2, "%02x", data[i]);
|
||||
}
|
||||
sprintf(prefix_hex, "0x%lx", m_prefix);
|
||||
sprintf(prefix_hex, "0x%llx", static_cast<unsigned long long>(m_prefix));
|
||||
LOGINFO(6, "decode varint_len=" << varint_len << " data_index=" << data_index << " prefix=" << static_cast<const char*>(prefix_hex));
|
||||
LOGINFO(6, "decode raw_data: " << static_cast<const char*>(data_hex));
|
||||
LOGINFO(6, "decode spend: " << static_cast<const char*>(spend_hex));
|
||||
|
||||
Reference in New Issue
Block a user