While the string is actually const, we don't have a const chunk to handle such
strings properly in chunks. Fixes compiler warnings.
json_object_put(jresponse);
break;
}
- target = json_object_get_string(jvalue);
+ target = (char*)json_object_get_string(jvalue);
DBG1(DBG_IMV, " %s", target);
/* Separate target into tag_creator and unique_sw_id */
{
return FAILED;
}
- data = chunk_from_str(json_object_to_json_string(jrequest));
+ data = chunk_from_str((char*)json_object_to_json_string(jrequest));
status = lib->fetcher->fetch(lib->fetcher, uri, &response,
FETCH_TIMEOUT, this->timeout,