plugins: explicitly cast initialization values to the correct type

https://bugzilla.gnome.org/show_bug.cgi?id=667288
This commit is contained in:
Idar Tollefsen 2012-01-01 16:47:14 +01:00 committed by Tim-Philipp Müller
parent f0e121c197
commit b9b3795c3c
2 changed files with 2 additions and 2 deletions

View file

@ -634,7 +634,7 @@ gst_fd_src_uri_set_uri (GstURIHandler * handler, const gchar * uri)
gchar *protocol, *q;
GstFdSrc *src = GST_FD_SRC (handler);
gint fd;
guint64 size = -1;
guint64 size = (guint64) - 1;
GST_INFO_OBJECT (src, "checking uri %s", uri);

View file

@ -638,7 +638,7 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
GstPad *active_sinkpad;
GstSelectorPad *active_selpad;
GstSegment *seg, *active_seg;
GstClockTime running_time, active_running_time = -1;
GstClockTime running_time, active_running_time = GST_CLOCK_TIME_NONE;
seg = &pad->segment;