mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
gst/dccp/gstdccp.c: Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in the format string to prevent a compil...
Original commit message from CVS: * gst/dccp/gstdccp.c: (gst_dccp_socket_write): Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in the format string to prevent a compiler warning.
This commit is contained in:
parent
a6395920c1
commit
7e028507ff
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-11-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/dccp/gstdccp.c: (gst_dccp_socket_write):
|
||||||
|
Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in
|
||||||
|
the format string to prevent a compiler warning.
|
||||||
|
|
||||||
2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Olivier Crete <tester at tester dot ca>
|
Patch by: Olivier Crete <tester at tester dot ca>
|
||||||
|
|
|
@ -343,7 +343,7 @@ gst_dccp_socket_write (GstElement * element, int socket, const void *buf,
|
||||||
if (bytes_written != size) {
|
if (bytes_written != size) {
|
||||||
GST_ELEMENT_ERROR (element, RESOURCE, WRITE,
|
GST_ELEMENT_ERROR (element, RESOURCE, WRITE,
|
||||||
("Error while sending data to socket %d.", socket),
|
("Error while sending data to socket %d.", socket),
|
||||||
("Only %" G_GSIZE_FORMAT " of %u bytes written: %s",
|
("Only %" G_GSIZE_FORMAT " of %" G_GSIZE_FORMAT " bytes written: %s",
|
||||||
bytes_written, size, g_strerror (errno)));
|
bytes_written, size, g_strerror (errno)));
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue