summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-03-02 15:38:01 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-03-02 15:38:01 +0000
commit09f15da2f831a7166cdcf9250e8d5e257937a422 (patch)
tree515ebfdcf996f3a02fab67b842d9ff944eccf6e7
parent53c02dff3ffb8d728078a9b82c5bda20f6e9fb87 (diff)
typefindfunctions: fix compiler warning on 32-bit systems
Mark 64-bit interger constant as such to avoid warnings such as: gsttypefindfunctions.c:2152: error: integer constant is too large for ‘long’ type
-rw-r--r--gst/typefind/gsttypefindfunctions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 2b35330f5..47c6bb5fc 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -2149,7 +2149,7 @@ h263_video_type_find (GstTypeFind * tf, gpointer unused)
/* Find the picture start code */
data = (data << 8) + c.data[0];
- psc = data & 0xfffffc0000;
+ psc = data & G_GUINT64_CONSTANT (0xfffffc0000);
if (psc == 0x800000) {
/* Found PSC */
/* TR */