From 51508fedbd78a179fc8f0d48c7e01bc6ef5e0b47 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Nov 2016 20:57:01 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- src/komodo_gateway.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index a5c735bb3..ae4250816 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,cmdstr,0) +#define issue_curl(cmdstr) bitcoind_RPC(0,"curl","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 1cbb986d9..1f7c8c42e 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -479,13 +479,13 @@ void komodo_gateway_iteration(char *symbol) for (i=0; i 0 && height > 0 ) { fiatoshis = jdouble(item,base) * COIN;