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
This commit is contained in:
Edward Hervey 2010-10-22 11:52:47 +02:00
parent 21c5064783
commit 726e4479b7

View file

@ -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: