This commit is contained in:
jl777
2016-11-06 20:57:01 -03:00
parent 77be6cd9d3
commit 51508fedbd
2 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@
#include <curl/easy.h>
#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; };