From fe3bc3d01e31addb321baa020df31ba73808d03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Gr=C3=A4f?= Date: Fri, 20 Mar 2020 16:33:38 +0100 Subject: [PATCH] Fixed gcc build and removed different type warnings --- src/consensus/params.h | 2 +- src/httpserver.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/consensus/params.h b/src/consensus/params.h index 9cd8567fe..e89011809 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -59,7 +59,7 @@ struct Params { /** Block height at which BIP66 becomes active */ int BIP66Height; /** Block height at which RandomX becomes active */ - int RandomXHeight; + uint32_t RandomXHeight; /** * Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period, * (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments. diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 630b745b1..e81666ba6 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -30,6 +30,7 @@ #include #include +#include #ifdef EVENT__HAVE_NETINET_IN_H #include