commit 501b188b4f0ee77060695b89b44fed1715b0ca65
parent 0164d82b084a5983ecfd8f4a089fb1b9b7f4cb16
Author: Shinoa-Fores <btcinfo@sdf.org>
Date: Wed, 13 Jan 2021 17:14:25 -0500
asciilifeform-kills-integer-retardation.vpatch
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bitcoin/src/bitcoinrpc.cpp b/bitcoin/src/bitcoinrpc.cpp
@@ -1758,8 +1758,8 @@ Value getmemorypool(const Array& params, bool fHelp)
result.push_back(Pair("version", pblock->nVersion));
result.push_back(Pair("previousblockhash", pblock->hashPrevBlock.GetHex()));
result.push_back(Pair("transactions", transactions));
- result.push_back(Pair("coinbasevalue", (int64_t)pblock->vtx[0].vout[0].nValue));
- result.push_back(Pair("time", (int64_t)pblock->nTime));
+ result.push_back(Pair("coinbasevalue", (boost::int64_t)pblock->vtx[0].vout[0].nValue));
+ result.push_back(Pair("time", (boost::int64_t)pblock->nTime));
union {
int32_t nBits;
diff --git a/bitcoin/src/util.h b/bitcoin/src/util.h
@@ -7,7 +7,7 @@
#include "uint256.h"
-
+#include <stdint.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>