about summary refs log tree commit diff
path: root/src/core/platform
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-03-09 19:07:28 +0100
committerMichael Biebl <biebl@debian.org>2023-03-09 19:07:28 +0100
commit0829d7c18b0c99511de316ce551ed1930a400ca6 (patch)
tree3822530717417783d3d6ba9fb08309ed55982a32 /src/core/platform
parent22d6ee88e62404d127054bfee20c28da1ee324ce (diff)
parentdfaaf221cfee4ffcc507d793dae051d402646679 (diff)
Update upstream source from tag 'upstream/1.42.4'
Update to upstream version '1.42.4'
with Debian dir 0dae05faaf02396619ae5080a3de6ac980b94990
Diffstat (limited to 'src/core/platform')
-rw-r--r--src/core/platform/tests/test-common.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/platform/tests/test-common.c b/src/core/platform/tests/test-common.c
index a37982fc..571fedfe 100644
--- a/src/core/platform/tests/test-common.c
+++ b/src/core/platform/tests/test-common.c
@@ -1891,9 +1891,13 @@ nmtstp_ip4_address_add(NMPlatform *platform,
                     external_command,
                     TRUE,
                     ifindex,
-                    (NMIPAddr *) &address,
+                    &((NMIPAddr){
+                        .addr4 = address,
+                    }),
                     plen,
-                    (NMIPAddr *) &peer_address,
+                    &((NMIPAddr){
+                        .addr4 = peer_address,
+                    }),
                     lifetime,
                     preferred,
                     flags,