mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
filesrc: printf format fixes
This commit is contained in:
parent
0b7f75c205
commit
5fde7d1ed0
1 changed files with 3 additions and 2 deletions
|
@ -585,8 +585,9 @@ gst_file_src_map_region (GstFileSrc * src, off_t offset, gsize size,
|
||||||
|
|
||||||
g_return_val_if_fail (offset >= 0, NULL);
|
g_return_val_if_fail (offset >= 0, NULL);
|
||||||
|
|
||||||
GST_LOG_OBJECT (src, "mapping region %08" G_GOFFSET_MODIFIER "x+%08lx "
|
/* FIXME ? use goffset and friends if we require glib >= 2.20 */
|
||||||
"from file into memory", (goffset) offset, (gulong) size);
|
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);
|
mmapregion = mmap (NULL, size, PROT_READ, MAP_SHARED, src->fd, offset);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue