diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index ae4250816..f44c166d9 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -23,7 +23,7 @@ #include #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 return_string { char *ptr; size_t len; }; diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 1f7c8c42e..18a419e04 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -153,7 +153,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char * opcode = 'I'; else opcode = 'X'; 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 ) continue; @@ -181,7 +181,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char * if ( numvouts++ >= 64 ) break; tmp = pax; - pax = pax->hh.next; + pax = (struct pax_transaction *)pax->hh.next; } if ( numvouts > 1 ) {