From b876a9b92905cb51f488c2308ad23f139f034217 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 2 Jul 2019 08:13:34 -1100 Subject: [PATCH] Cast uint32_t --- src/komodo_nSPV.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 7fed4b206..b8ed401bc 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -101,7 +101,7 @@ std::vector NSPV_utxos; // on fullnode: void komodo_nSPVreq(CNode *pfrom,std::vector request) // received a request { - int32_t len; std::vector response; uint32_t timestamp = time(NULL); + int32_t len; std::vector response; uint32_t timestamp = (uint32_t)time(NULL); if ( (len= request.size()) > 0 ) { response.resize(1); @@ -184,7 +184,7 @@ void komodo_nSPVresp(CNode *pfrom,std::vector response) // received a r void komodo_nSPV(CNode *pto) { - std::vector request; int32_t i; uint32_t timestamp = time(NULL); + std::vector request; int32_t i; uint32_t timestamp = (uint32_t)time(NULL); if ( timestamp > pto->lastntzs || timestamp > pto->lastproof ) { for (i=0; i