mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +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
|
|
@ -89,7 +89,7 @@ cJSON *OpenAPI_policy_association_convertToJSON(OpenAPI_policy_association_t *po
|
|||
}
|
||||
OpenAPI_lnode_t *triggers_node;
|
||||
OpenAPI_list_for_each(policy_association->triggers, triggers_node) {
|
||||
if (cJSON_AddStringToObject(triggers, "", OpenAPI_request_trigger_ToString((OpenAPI_request_trigger_e)triggers_node->data)) == NULL) {
|
||||
if (cJSON_AddStringToObject(triggers, "", OpenAPI_request_trigger_ToString((intptr_t)triggers_node->data)) == NULL) {
|
||||
ogs_error("OpenAPI_policy_association_convertToJSON() failed [triggers]");
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue