From a14e730aad6aa8fbb31a1425cf30d3c4374c42f3 Mon Sep 17 00:00:00 2001 From: Havard Graff Date: Mon, 31 Aug 2009 20:24:22 +0200 Subject: [PATCH] navigation: Fix compiler warning with MSVC Fixes bug #594275. --- gst-libs/gst/interfaces/navigation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/interfaces/navigation.c b/gst-libs/gst/interfaces/navigation.c index 28e07fc297..216db68237 100644 --- a/gst-libs/gst/interfaces/navigation.c +++ b/gst-libs/gst/interfaces/navigation.c @@ -821,7 +821,7 @@ gst_navigation_event_parse_command (GstEvent * event, if (command) { s = gst_event_get_structure (event); - g_return_val_if_fail (gst_structure_get_uint (s, "command-code", command), + g_return_val_if_fail (gst_structure_get_uint (s, "command-code", (guint*)command), FALSE); }