From 42877327973889c6a99f07025bd1bc72cf6dd2b7 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 11 Aug 2010 01:38:24 +0000 Subject: [PATCH] fix build, thanks jgarzik git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@129 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc.cpp b/rpc.cpp index 56e5bb5e6..0fef53988 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; }