Fix printf format build warnings

This commit is contained in:
Matej Knopp 2012-01-09 03:14:41 -05:00 committed by Tim-Philipp Müller
parent 74197dadf0
commit 9092fb87f0
2 changed files with 5 additions and 4 deletions

View file

@ -221,9 +221,10 @@ _default_mem_map (GstMemoryDefault * mem, gsize * size, gsize * maxsize,
static gboolean
_default_mem_unmap (GstMemoryDefault * mem, gpointer data, gsize size)
{
GST_DEBUG ("mem: %p, data %p, size %u", mem, data, size);
GST_DEBUG ("mem: %p, data %p, offset %u, size %u, maxsize %u", mem,
mem->data, mem->offset, mem->size, mem->maxsize);
GST_DEBUG ("mem: %p, data %p, size %" G_GSIZE_FORMAT, mem, data, size);
GST_DEBUG ("mem: %p, data %p, offset %" G_GSIZE_FORMAT ", size %"
G_GSIZE_FORMAT ", maxsize %" G_GSIZE_FORMAT, mem, mem->data, mem->offset,
mem->size, mem->maxsize);
g_return_val_if_fail ((guint8 *) data >= mem->data
&& (guint8 *) data < mem->data + mem->maxsize, FALSE);

View file

@ -56,7 +56,7 @@ struct _GstTriggerControlSourcePrivate
/* returns the default value of the property, except for times with specific values */
/* needed for one-shot events, such as notes and triggers */
static inline const gdouble
static inline gdouble
_interpolate_trigger (GstTimedValueControlSource * self, GSequenceIter * iter,
GstClockTime timestamp)
{