validate: Fix wrong sizeof usage

sizeof(int) is always <= sizeof(gpointer)
This commit is contained in:
Thibault Saunier 2015-02-17 18:18:56 +01:00
parent 2d5ad1ac62
commit f0511cc3a2

View file

@ -107,7 +107,7 @@ struct _GstValidateAction
GstValidateExecuteActionReturn state; /* Actually ActionState */
gboolean printed;
gpointer _gst_reserved[GST_PADDING_LARGE - sizeof (gint) - 2 - sizeof(gboolean)];
gpointer _gst_reserved[GST_PADDING_LARGE - 4];
};
void gst_validate_action_set_done (GstValidateAction *action);