From ccd9a9cb89919d1ce0b67095e52e3104d08274e4 Mon Sep 17 00:00:00 2001 From: Todd Agulnick Date: Sun, 15 Dec 2013 21:05:31 -0800 Subject: [PATCH] vc1parse: Some compiler warning fixes to satisfy XCode compiler https://bugzilla.gnome.org/show_bug.cgi?id=720513 --- gst/videoparsers/gstvc1parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/gstvc1parse.c b/gst/videoparsers/gstvc1parse.c index 9868afa766..060347ead3 100644 --- a/gst/videoparsers/gstvc1parse.c +++ b/gst/videoparsers/gstvc1parse.c @@ -747,7 +747,7 @@ gst_vc1_parse_update_caps (GstVC1Parse * vc1parse) /* 0x0000000c */ GST_WRITE_UINT32_BE (data + 20, 0x0000000c); /* structB */ - if (vc1parse->level != -1) + if ((gint) vc1parse->level != -1) data[24] = (vc1parse->level << 5); else data[24] = 0x40; /* Use HIGH level */