[gst-cvs] gst-plugins-base: navigation: Fix compiler warning with MSVC
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue Sep 8 06:55:31 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: a14e730aad6aa8fbb31a1425cf30d3c4374c42f3
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a14e730aad6aa8fbb31a1425cf30d3c4374c42f3
Author: Havard Graff <havard.graff at tandberg.com>
Date: Mon Aug 31 20:24:22 2009 +0200
navigation: Fix compiler warning with MSVC
Fixes bug #594275.
---
gst-libs/gst/interfaces/navigation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/interfaces/navigation.c b/gst-libs/gst/interfaces/navigation.c
index 28e07fc..216db68 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);
}
More information about the Gstreamer-commits
mailing list