From 3dfe0c77c448ee4226ada9ff4518627f11afec3b Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 27 Feb 2019 02:15:06 -1100 Subject: [PATCH] Char * --- src/cc/rogue_rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/rogue_rpc.cpp b/src/cc/rogue_rpc.cpp index c05b02a91..4d0011d06 100644 --- a/src/cc/rogue_rpc.cpp +++ b/src/cc/rogue_rpc.cpp @@ -1025,7 +1025,7 @@ UniValue rogue_extract(uint64_t txfee,struct CCcontract_info *cp,cJSON *params) { result.push_back(Pair("status","success")); flag = 1; - hexstr = malloc(numkeys*2 + 1) + hexstr = (char *)malloc(numkeys*2 + 1); for (i=0; i