diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index 12fb2bc6dc..ac059706fb 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_SEEK: { - guint64 offset; + gint64 offset; if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) { goto error; diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 12fb2bc6dc..ac059706fb 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_SEEK: { - guint64 offset; + gint64 offset; if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) { goto error;