summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sbus/sssd_dbus_meta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbus/sssd_dbus_meta.h b/src/sbus/sssd_dbus_meta.h
index 2cb9e95e3..e7de9dfdf 100644
--- a/src/sbus/sssd_dbus_meta.h
+++ b/src/sbus/sssd_dbus_meta.h
@@ -35,7 +35,7 @@
/* Looks up a vtable func, in a struct derived from struct sbus_vtable */
#define VTABLE_FUNC(vtable, offset) \
- (*((void **)((char *)(vtable) + (offset))))
+ (*(DISCARD_ALIGN((char *)(vtable) + (offset), void **)))
struct sbus_arg_meta {
const char *name;