mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
[SBI] fix the compile warning in MacOSX
This commit is contained in:
parent
0b063a57c8
commit
e5a0dfb444
33 changed files with 66 additions and 58 deletions
|
|
@ -72,7 +72,7 @@ cJSON *OpenAPI_requested_rule_data_convertToJSON(OpenAPI_requested_rule_data_t *
|
|||
}
|
||||
OpenAPI_lnode_t *req_data_node;
|
||||
OpenAPI_list_for_each(requested_rule_data->req_data, req_data_node) {
|
||||
if (cJSON_AddStringToObject(req_data, "", OpenAPI_requested_rule_data_type_ToString((OpenAPI_requested_rule_data_type_e)req_data_node->data)) == NULL) {
|
||||
if (cJSON_AddStringToObject(req_data, "", OpenAPI_requested_rule_data_type_ToString((intptr_t)req_data_node->data)) == NULL) {
|
||||
ogs_error("OpenAPI_requested_rule_data_convertToJSON() failed [req_data]");
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue