aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Nakamoto <satoshin@gmx.com>2010-08-12 13:28:22 +0000
committerGavin Andresen <gavinandresen@gmail.com>2010-08-12 13:28:22 +0000
commit819adfff6fda7ba2ccf5c4b9fb8b5fdc7a1b535c (patch)
treeebc152e838cdde27a40fd667be9f7cdd449263bc
parentf5d2bc8a36dda0bd80a44afaab5fb3c0323d2da2 (diff)
downloadbitcoin-819adfff6fda7ba2ccf5c4b9fb8b5fdc7a1b535c.tar.xz
fix build, thanks jgarzik
-rw-r--r--rpc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc.cpp b/rpc.cpp
index b464915bbf..6ac4f55778 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -225,8 +225,8 @@ Value gethashespersec(const Array& params, bool fHelp)
"Returns a recent hashes per second performance measurement while generating.");
if (GetTimeMillis() - nHPSTimerStart > 8000)
- return (int64)0;
- return (int64)dHashesPerSec;
+ return (boost::int64_t)0;
+ return (boost::int64_t)dHashesPerSec;
}