From: Mark Nauwelaerts Date: Tue, 15 Dec 2009 17:55:38 +0000 (+0100) Subject: filesrc: printf format fixes X-Git-Tag: RELEASE-0.10.26~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fde7d1ed0867f5fea4e5a0a3d685e8f1a806bd8;p=platform%2Fupstream%2Fgstreamer.git filesrc: printf format fixes --- diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index d69167a663..792cd0daa0 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -585,8 +585,9 @@ gst_file_src_map_region (GstFileSrc * src, off_t offset, gsize size, g_return_val_if_fail (offset >= 0, NULL); - GST_LOG_OBJECT (src, "mapping region %08" G_GOFFSET_MODIFIER "x+%08lx " - "from file into memory", (goffset) offset, (gulong) size); + /* FIXME ? use goffset and friends if we require glib >= 2.20 */ + GST_LOG_OBJECT (src, "mapping region %08" G_GINT64_MODIFIER "x+%08lx " + "from file into memory", (gint64) offset, (gulong) size); mmapregion = mmap (NULL, size, PROT_READ, MAP_SHARED, src->fd, offset);