From 55a913eec1eec96ee8e092017e9f510a55efd44f Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Nov 2016 21:01:46 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 18a419e04..ea09a3b7e 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -40,12 +40,12 @@ uint64_t komodo_paxtotal() { struct pax_transaction *pax,*tmp; uint64_t total = 0; tmp = 0; - while ( (pax= PAX->hh.next) != 0 && pax != tmp ) + while ( (pax= (struct pax_transaction *)PAX->hh.next) != 0 && pax != tmp ) { if ( pax->marked == 0 ) total += pax->fiatoshis; tmp = pax; - pax = pax->hh.next; + pax = (struct pax_transaction *)pax->hh.next; } return(total); }