From 09f15da2f831a7166cdcf9250e8d5e257937a422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 2 Mar 2011 15:38:01 +0000 Subject: [PATCH] typefindfunctions: fix compiler warning on 32-bit systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mark 64-bit interger constant as such to avoid warnings such as: gsttypefindfunctions.c:2152: error: integer constant is too large for ‘long’ type --- gst/typefind/gsttypefindfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 2b35330f52..47c6bb5fc4 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 */