aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/bdb.h
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-05-12 15:44:24 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-05-12 15:44:24 +0200
commit672d49c863fd6b0f096f166aeb3504f51dfa7d19 (patch)
tree8ba8f8418e3e99ec3e8e73a1fe6aec9b52995c2a /src/wallet/bdb.h
parentdd9f61a184d4d395591ee3e9f1e839473e88ffd0 (diff)
downloadbitcoin-672d49c863fd6b0f096f166aeb3504f51dfa7d19.tar.xz
scripted-diff: replace non-standard fixed width integer types (`u_int`...` -> `uint`...)
-BEGIN VERIFY SCRIPT- sed -i 's/u_int/uint/g' $(git grep -l u_int) -END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r--src/wallet/bdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h
index 1c99e1f9af..ddab85521b 100644
--- a/src/wallet/bdb.h
+++ b/src/wallet/bdb.h
@@ -34,7 +34,7 @@ struct bilingual_str;
namespace wallet {
struct WalletDatabaseFileId {
- u_int8_t value[DB_FILE_ID_LEN];
+ uint8_t value[DB_FILE_ID_LEN];
bool operator==(const WalletDatabaseFileId& rhs) const;
};
@@ -182,7 +182,7 @@ class BerkeleyBatch : public DatabaseBatch
// delegate to Dbt
const void* get_data() const;
- u_int32_t get_size() const;
+ uint32_t get_size() const;
// conversion operator to access the underlying Dbt
operator Dbt*();