mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
fix build, thanks jgarzik
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@129 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
4
rpc.cpp
4
rpc.cpp
@@ -225,8 +225,8 @@ Value gethashespersec(const Array& params, bool fHelp)
|
|||||||
"Returns a recent hashes per second performance measurement while generating.");
|
"Returns a recent hashes per second performance measurement while generating.");
|
||||||
|
|
||||||
if (GetTimeMillis() - nHPSTimerStart > 8000)
|
if (GetTimeMillis() - nHPSTimerStart > 8000)
|
||||||
return (int64)0;
|
return (boost::int64_t)0;
|
||||||
return (int64)dHashesPerSec;
|
return (boost::int64_t)dHashesPerSec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user