diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-21 13:31:08 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-21 18:16:11 +0200 |
commit | cdcc319c2dc63414d5a60a1ee7b8b4a61b77fa09 (patch) | |
tree | d9e35d3a8170bf414c0223db6c565f337b36d56d | |
parent | 7be8b2ff9c9ea425bdda2ad1a702699b3d2da9f8 (diff) |
change type of various bare chars to bool that are only used as bool (and never serialized)
-rw-r--r-- | src/main.h | 2 | ||||
-rw-r--r-- | src/wallet.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main.h b/src/main.h index d12a3cc258..a814092ac2 100644 --- a/src/main.h +++ b/src/main.h @@ -696,7 +696,7 @@ public: int nIndex; // memory only - mutable char fMerkleVerified; + mutable bool fMerkleVerified; CMerkleTx() diff --git a/src/wallet.h b/src/wallet.h index c1461b1feb..37cf549b94 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -317,10 +317,10 @@ public: std::vector<char> vfSpent; // which outputs are already spent // memory only - mutable char fDebitCached; - mutable char fCreditCached; - mutable char fAvailableCreditCached; - mutable char fChangeCached; + mutable bool fDebitCached; + mutable bool fCreditCached; + mutable bool fAvailableCreditCached; + mutable bool fChangeCached; mutable int64 nDebitCached; mutable int64 nCreditCached; mutable int64 nAvailableCreditCached; |