diff options
author | anonimal <anonimal@i2pmail.org> | 2016-12-14 21:37:49 +0000 |
---|---|---|
committer | anonimal <anonimal@i2pmail.org> | 2016-12-14 21:37:49 +0000 |
commit | 4bb0bff2333fce80f0cd3b61a94dfcdb66002856 (patch) | |
tree | fe365f64e367e8150f30efee89152dc67d0e0233 /src/wallet/wallet2.h | |
parent | Merge pull request #1445 (diff) | |
download | monero-4bb0bff2333fce80f0cd3b61a94dfcdb66002856.tar.xz |
AddressBook: use unsigned type for row ID's
Fixes build warnings and may also prevent future headaches.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 36b9b3d1f..c3381730b 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -525,7 +525,7 @@ namespace tools */ std::vector<address_book_row> get_address_book() const { return m_address_book; } bool add_address_book_row(const cryptonote::account_public_address &address, const crypto::hash &payment_id, const std::string &description); - bool delete_address_book_row(int row_id); + bool delete_address_book_row(std::size_t row_id); uint64_t get_num_rct_outputs(); const transfer_details &get_transfer_details(size_t idx) const; |