mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +02:00
src/WIF.cpp: fix integer comparison between different sizes warning.
This commit is contained in:
parent
7fc83991bc
commit
ac3facf30b
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ std::string wif_priv_encode(const ec_privkey_t& priv, const std::string& prefix)
|
|||
|
||||
bool wif_priv_decode(ec_privkey_t& priv, const std::string& data) {
|
||||
|
||||
uint8_t offset;
|
||||
std::size_t offset;
|
||||
std::vector<unsigned char> buf;
|
||||
internal::priv_decoder_t decoder = internal::priv_decoder_legacy;
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ std::string wif_pub_encode(const ec_pubkey_t& pub, const std::string& prefix) {
|
|||
bool wif_pub_decode(ec_pubkey_t& pub, const std::string& data) {
|
||||
|
||||
internal::pub_decoder_t decoder = internal::pub_decoder_legacy;
|
||||
int offset;
|
||||
std::size_t offset;
|
||||
std::vector<unsigned char> buf;
|
||||
|
||||
// Check prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue