diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-12-15 18:55:38 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-12-15 18:55:38 +0100 |
commit | 5fde7d1ed0867f5fea4e5a0a3d685e8f1a806bd8 (patch) | |
tree | 89c3bd520dc0dcec0395480197b4e53f3f1654ce | |
parent | 0b7f75c20552970f43a11d880ee0aa7dc2f99b83 (diff) |
filesrc: printf format fixes
-rw-r--r-- | plugins/elements/gstfilesrc.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |