gst/: Use G_GSSIZE_FORMAT for ssize_t types.

Original commit message from CVS:
* gst/gst.override:
* gst/gstbuffer.override:
Use G_GSSIZE_FORMAT for ssize_t types.
Fixes build on macosx.
This commit is contained in:
Edward Hervey 2008-05-08 10:59:48 +00:00
parent facab76935
commit d61ee05178
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-05-08 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/gst.override:
* gst/gstbuffer.override:
Use G_GSSIZE_FORMAT for ssize_t types.
Fixes build on macosx.
2008-04-28 Edward Hervey <edward.hervey@collabora.co.uk>
Patch by: Alessandro Decina <alessandro at nnva dot org>

View file

@ -1028,7 +1028,7 @@ gst_type_find_peek_handler (gpointer data, gint64 offset, guint size)
Py_DECREF (args);
goto beach;
}
GST_DEBUG ("got string of len %d", len);
GST_DEBUG ("got string of len %"G_GSSIZE_FORMAT, len);
if (len)
ret = g_memdup((gconstpointer) str, (guint) len);
}

View file

@ -64,7 +64,7 @@ _wrap_gst_buffer_new(PyGstMiniObject *self, PyObject *args, PyObject *kwargs)
}
self->obj = GST_MINI_OBJECT(gst_buffer_new_and_alloc(buf_size));
GST_INFO ("pyo:%p pyr:%d minio:%p minir:%d",
GST_INFO ("pyo:%p pyr:%"G_GSSIZE_FORMAT" minio:%p minir:%d",
self, ((PyObject*)self)->ob_refcnt,
self->obj, GST_MINI_OBJECT_REFCOUNT_VALUE(self->obj));
if (!self->obj) {