mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
facab76935
commit
d61ee05178
3 changed files with 9 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue