diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 1d07d26cf..b6edcd2fa 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -358,7 +358,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp) //printf("(%s)\n",jsonstr); if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (item= jobj(json,"result")) != 0 ) + if ( (item= jobj(json,(char *)"result")) != 0 ) { *kmdnotarized_heightp = jint(item,(char *)"notarized"); height = jint(item,(char *)"blocks"); @@ -373,7 +373,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp) //printf("(%s)\n",jsonstr); if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (item= jobj(json,"result")) != 0 ) + if ( (item= jobj(json,(char *)"result")) != 0 ) { txid_confirmations = jint(item,(char *)"confirmations"); printf("height.%d tconfs.%d\n",height,txid_confirmations);