navigation: Fix compiler warning with MSVC
authorHavard Graff <havard.graff@tandberg.com>
Mon, 31 Aug 2009 18:24:22 +0000 (20:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 8 Sep 2009 13:54:57 +0000 (15:54 +0200)
Fixes bug #594275.

gst-libs/gst/interfaces/navigation.c

index 28e07fc2972063854ca9ca798a4b2c7ca2b627c7..216db682377f18e037a79b3993c40b58adb03184 100644 (file)
@@ -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);
   }