diff options
| author | Gavin Andresen <[email protected]> | 2011-12-20 08:52:22 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-12-20 08:52:22 -0800 |
| commit | 74f5435e104be76cd342a9a196ed4a10b8a7e248 (patch) | |
| tree | 254f76dfa15c36a359e661caa1b4cfd158e204f4 /src/wallet.cpp | |
| parent | Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsing (diff) | |
| parent | Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and e... (diff) | |
| download | discoin-74f5435e104be76cd342a9a196ed4a10b8a7e248.tar.xz discoin-74f5435e104be76cd342a9a196ed4a10b8a7e248.zip | |
Merge pull request #716 from gavinandresen/cleanup
Cleanups suggested by genjix
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 87f5dfd65..c6f5795c0 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -782,7 +782,7 @@ bool CWallet::SelectCoinsMinConf(int64 nTargetValue, int nConfMine, int nConfThe // List of values less than target pair<int64, pair<const CWalletTx*,unsigned int> > coinLowestLarger; - coinLowestLarger.first = INT64_MAX; + coinLowestLarger.first = std::numeric_limits<int64>::max(); coinLowestLarger.second.first = NULL; vector<pair<int64, pair<const CWalletTx*,unsigned int> > > vValue; int64 nTotalLower = 0; |