This commit is contained in:
jl777
2016-11-06 21:01:46 -03:00
parent 52bc445a1f
commit 55a913eec1

View File

@@ -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);
}