projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c5064
)
elementfactory: Fix 64bit constant
author
Edward Hervey
<bilboed@bilboed.com>
Fri, 22 Oct 2010 09:52:47 +0000
(11:52 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 22 Oct 2010 09:52:47 +0000
(11:52 +0200)
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
patch
|
blob
|
history
diff --git
a/gst/gstelementfactory.h
b/gst/gstelementfactory.h
index
9f74405
..
ff9051b
100644
(file)
--- 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: