imv-swid: Cast json object strings when using it as chunk pointer
While the string is actually const, we don't have a const chunk to handle such strings properly in chunks. Fixes compiler warnings.
This commit is contained in:
@@ -562,7 +562,7 @@ METHOD(imv_agent_if_t, batch_ending, TNC_Result,
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user