filesrc: printf format fixes

This commit is contained in:
Mark Nauwelaerts 2009-12-15 18:55:38 +01:00
parent 0b7f75c205
commit 5fde7d1ed0

View file

@ -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);