Index: rpc.cpp
===================================================================
--- rpc.cpp	(revision 128)
+++ rpc.cpp	(revision 129)
@@ -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;
 }
 
 
