typefindfunctions: fix compiler warning on 32-bit systems
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 2 Mar 2011 15:38:01 +0000 (15:38 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 2 Mar 2011 15:38:01 +0000 (15:38 +0000)
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

index 2b35330..47c6bb5 100644 (file)
@@ -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 */