From 819adfff6fda7ba2ccf5c4b9fb8b5fdc7a1b535c Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Thu, 12 Aug 2010 13:28:22 +0000 Subject: [PATCH] fix build, thanks jgarzik --- rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc.cpp b/rpc.cpp index b464915bb..6ac4f5577 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; }