From 12937488ae9a4a122ac361eafa90d8ac7233b5ed Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 3 Nov 2020 22:58:26 -0800 Subject: [PATCH] gst_private.h: increse padding in struct _GstClockEntryImpl When compiling for 32bit architectures with 64bit time_t e.g. riscv32, the static assert that the GstClockEntryImpl smaller or equal to the struct _GstClockEntryImpl triggered. (they were 12bytes off). To fix this, the padding is increased by 8 bytes (on 32bit). Part-of: --- gst/gst_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gst_private.h b/gst/gst_private.h index 1b0f02b534..eefd044d93 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -524,7 +524,7 @@ struct _GstClockEntryImpl GstClockEntry entry; GWeakRef clock; GDestroyNotify destroy_entry; - gpointer padding[19]; /* padding for allowing e.g. systemclock + gpointer padding[21]; /* padding for allowing e.g. systemclock * to add data in lieu of overridable * virtual functions on the clock */ };