summary refs log tree commit diff
path: root/src/core/nm-l3-ipv4ll.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
committerMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
commit1372848511cb896b80b51ed1a3e9606bd9816631 (patch)
tree674792b9385bdef935988894b45f06b2af39f88c /src/core/nm-l3-ipv4ll.h
parent40ec077ea305994c1fc2130add6787ca0c73e2c6 (diff)
New upstream version 1.42.0 upstream/1.42.0
Diffstat (limited to 'src/core/nm-l3-ipv4ll.h')
-rw-r--r--src/core/nm-l3-ipv4ll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nm-l3-ipv4ll.h b/src/core/nm-l3-ipv4ll.h
index b39762a8..af74ce08 100644
--- a/src/core/nm-l3-ipv4ll.h
+++ b/src/core/nm-l3-ipv4ll.h
@@ -45,7 +45,7 @@ NM_IS_L3_IPV4LL(const NML3IPv4LL *self)
 {
     nm_assert(!self
               || (NM_IS_L3CFG(*((NML3Cfg **) self))
-                  && (*((int *) (((char *) self) + sizeof(gpointer)))) > 0));
+                  && *(NM_CAST_ALIGN(int, (((char *) self) + sizeof(gpointer)))) > 0));
     return !!self;
 }