From 726e4479b75c955d846d2dad5d6be01849063d06 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 22 Oct 2010 11:52:47 +0200 Subject: [PATCH] elementfactory: Fix 64bit constant Basically we're not meant to put anything more complex than simple numbers, due to the definition of G_GUINT64_CONSTANT: G_GUINT64_CONSTANT(val) (val##UL) Which previously resulted in .... 1 << 49UL --- gst/gstelementfactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstelementfactory.h b/gst/gstelementfactory.h index 9f74405..ff9051b 100644 --- a/gst/gstelementfactory.h +++ b/gst/gstelementfactory.h @@ -229,7 +229,7 @@ typedef guint64 GstElementFactoryListType; * * Since: 0.10.31 */ -#define GST_ELEMENT_FACTORY_TYPE_ANY G_GUINT64_CONSTANT ((1 << 49) - 1) +#define GST_ELEMENT_FACTORY_TYPE_ANY ((G_GUINT64_CONSTANT (1) << 49) - 1) /** * GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY: -- 2.7.4