Commit d61ee051 authored by Edward Hervey's avatar Edward Hervey

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.
parent facab769
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>
......
......@@ -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);
}
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment