aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/address_book.cpp
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2016-12-14 21:37:49 +0000
committeranonimal <anonimal@i2pmail.org>2016-12-14 21:37:49 +0000
commit4bb0bff2333fce80f0cd3b61a94dfcdb66002856 (patch)
treefe365f64e367e8150f30efee89152dc67d0e0233 /src/wallet/api/address_book.cpp
parentMerge pull request #1445 (diff)
downloadmonero-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/api/address_book.cpp')
-rw-r--r--src/wallet/api/address_book.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/address_book.cpp b/src/wallet/api/address_book.cpp
index 1847e1496..bbf96c81a 100644
--- a/src/wallet/api/address_book.cpp
+++ b/src/wallet/api/address_book.cpp
@@ -94,7 +94,7 @@ void AddressBookImpl::refresh()
}
-bool AddressBookImpl::deleteRow(int rowId)
+bool AddressBookImpl::deleteRow(std::size_t rowId)
{
LOG_PRINT_L2("Deleting address book row " << rowId);
bool r = m_wallet->m_wallet->delete_address_book_row(rowId);