diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-03-02 15:38:01 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-03-02 15:38:01 +0000 |
commit | 09f15da2f831a7166cdcf9250e8d5e257937a422 (patch) | |
tree | 515ebfdcf996f3a02fab67b842d9ff944eccf6e7 | |
parent | 53c02dff3ffb8d728078a9b82c5bda20f6e9fb87 (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.c | 2 |
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 */ |