We don't need 32 bit integers for these counters
[novacoin.git] / src / main.h
index 2cb3ea7..0ef9a9d 100644 (file)
@@ -947,7 +947,7 @@ public:
 
     uint256 GetHash() const
     {
-        return scrypt_blockhash(CVOIDBEGIN(nVersion));
+        return scrypt_blockhash((const uint8_t*)&nVersion);
     }
 
     int64_t GetBlockTime() const