From: Tim-Philipp Müller Date: Sun, 10 Apr 2016 10:42:18 +0000 (+0100) Subject: query: fix compiler warning X-Git-Tag: 1.10.4~276 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7bb52934e2e05b391a3c4315b49ab2b9d3b778e;p=platform%2Fupstream%2Fgstreamer.git query: fix compiler warning C4146: unary minus operator applied to unsigned type, result still unsigned --- diff --git a/gst/gstquery.c b/gst/gstquery.c index 63ad182..7093388 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -390,7 +390,7 @@ gst_query_new_latency (void) structure = gst_structure_new_id (GST_QUARK (QUERY_LATENCY), GST_QUARK (LIVE), G_TYPE_BOOLEAN, FALSE, GST_QUARK (MIN_LATENCY), G_TYPE_UINT64, G_GUINT64_CONSTANT (0), - GST_QUARK (MAX_LATENCY), G_TYPE_UINT64, G_GUINT64_CONSTANT (-1), NULL); + GST_QUARK (MAX_LATENCY), G_TYPE_UINT64, GST_CLOCK_TIME_NONE, NULL); query = gst_query_new_custom (GST_QUERY_LATENCY, structure);