[SBI] fix the compile warning in MacOSX

This commit is contained in:
Sukchan Lee 2021-05-05 22:04:17 +09:00
parent 0b063a57c8
commit e5a0dfb444
33 changed files with 66 additions and 58 deletions

View file

@ -91,7 +91,7 @@ cJSON *OpenAPI_dnn_upf_info_item_convertToJSON(OpenAPI_dnn_upf_info_item_t *dnn_
}
OpenAPI_lnode_t *pdu_session_types_node;
OpenAPI_list_for_each(dnn_upf_info_item->pdu_session_types, pdu_session_types_node) {
if (cJSON_AddStringToObject(pdu_session_types, "", OpenAPI_pdu_session_type_ToString((OpenAPI_pdu_session_type_e)pdu_session_types_node->data)) == NULL) {
if (cJSON_AddStringToObject(pdu_session_types, "", OpenAPI_pdu_session_type_ToString((intptr_t)pdu_session_types_node->data)) == NULL) {
ogs_error("OpenAPI_dnn_upf_info_item_convertToJSON() failed [pdu_session_types]");
goto end;
}