From: Vineeth TM Date: Mon, 29 Jun 2015 04:57:11 +0000 (+0900) Subject: tests: caps: fix test_intersect_flagset failure X-Git-Tag: 1.6.1~157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17300389535b30a2986805dba9254fcee613d36a;p=platform%2Fupstream%2Fgstreamer.git tests: caps: fix test_intersect_flagset failure test_intersect_flagset fails because when caps is being created, flags and mask are being cast to uint64 while they should be uint. This results in invalid memory access or a segfault. https://bugzilla.gnome.org/show_bug.cgi?id=751628 --- diff --git a/tests/check/gst/gstcaps.c b/tests/check/gst/gstcaps.c index b05ef58..80aa055 100644 --- a/tests/check/gst/gstcaps.c +++ b/tests/check/gst/gstcaps.c @@ -975,7 +975,7 @@ GST_START_TEST (test_intersect_flagset) GST_SEEK_FLAG_TRICKMODE_NO_AUDIO; c1 = gst_caps_new_simple ("test/x-caps", "field", test_flagset_type, - (guint64) (test_flags), (guint64) (test_mask), NULL); + test_flags, test_mask, NULL); test_string = gst_caps_to_string (c1); fail_if (test_string == NULL);