# HG changeset patch # User Satoshi Nakamoto # Date 1281619702 0 # Node ID df45df86d5c1c17b584e201b94ed63bf6479ae30 # Parent 3baca0ce4dacc9ee91b811fe0424634973c04da1 fix build, thanks jgarzik diff --git a/rpc.cpp b/rpc.cpp --- a/rpc.cpp +++ b/rpc.cpp @@ -225,8 +225,8 @@ "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; }