From f0511cc3a2d56789ec1ef79522b0212412c2543d Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 17 Feb 2015 18:18:56 +0100 Subject: [PATCH] validate: Fix wrong sizeof usage sizeof(int) is always <= sizeof(gpointer) --- validate/gst/validate/gst-validate-scenario.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-scenario.h b/validate/gst/validate/gst-validate-scenario.h index 3cc7b5f..cf1476c 100644 --- a/validate/gst/validate/gst-validate-scenario.h +++ b/validate/gst/validate/gst-validate-scenario.h @@ -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); -- 2.7.4