Skip to content

Commit

Permalink
update cast type
Browse files Browse the repository at this point in the history
  • Loading branch information
riordant committed Jul 26, 2019
1 parent b835086 commit 2d24daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/walletdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ class CKeyMetadata

nChange.second = (nChangeStr.find("'") != string::npos);
boost::erase_all(nChangeStr, "'");
nChange.first = boost::lexical_cast<int64_t>(nChangeStr);
nChange.first = boost::lexical_cast<uint32_t>(nChangeStr);

nChild.second = (nChildStr.find("'") != string::npos);
boost::erase_all(nChildStr, "'");
nChild.first = boost::lexical_cast<int64_t>(nChildStr);
nChild.first = boost::lexical_cast<uint32_t>(nChildStr);

return true;
}
Expand Down

0 comments on commit 2d24daa

Please sign in to comment.