From: Edward Hervey Date: Fri, 22 Oct 2010 09:52:47 +0000 (+0200) Subject: elementfactory: Fix 64bit constant X-Git-Tag: RELEASE-0.10.31~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=726e4479b75c955d846d2dad5d6be01849063d06;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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: