From c7bb52934e2e05b391a3c4315b49ab2b9d3b778e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 10 Apr 2016 11:42:18 +0100 Subject: [PATCH] query: fix compiler warning C4146: unary minus operator applied to unsigned type, result still unsigned --- gst/gstquery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4