This commit is contained in:
jl777
2016-11-06 21:00:20 -03:00
parent 51508fedbd
commit 52bc445a1f
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
#include <curl/easy.h> #include <curl/easy.h>
#endif #endif
#define issue_curl(cmdstr) bitcoind_RPC(0,"curl","http://127.0.0.1:7771",0,(char *)(cmdstr),0) #define issue_curl(cmdstr) bitcoind_RPC(0,(char *)"curl",(char *)"http://127.0.0.1:7771",0,(char *)(cmdstr),0)
struct MemoryStruct { char *memory; size_t size; }; struct MemoryStruct { char *memory; size_t size; };
struct return_string { char *ptr; size_t len; }; struct return_string { char *ptr; size_t len; };

View File

@@ -153,7 +153,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
opcode = 'I'; opcode = 'I';
else opcode = 'X'; else opcode = 'X';
tmp = 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 ) if ( pax->marked != 0 )
continue; continue;
@@ -181,7 +181,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
if ( numvouts++ >= 64 ) if ( numvouts++ >= 64 )
break; break;
tmp = pax; tmp = pax;
pax = pax->hh.next; pax = (struct pax_transaction *)pax->hh.next;
} }
if ( numvouts > 1 ) if ( numvouts > 1 )
{ {