summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-22 08:23:17 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-22 08:23:17 +0000
commit7e028507ffccf1bba9a76b2327967fe26dea9bca (patch)
tree0a5d9b53a0e281debe8bcd87dcc1287786dfc566 /gst
parenta6395920c1ebaa3a8f3f0e1b002935bb48c43235 (diff)
downloadgst-plugins-bad-7e028507ffccf1bba9a76b2327967fe26dea9bca.tar.gz
gst-plugins-bad-7e028507ffccf1bba9a76b2327967fe26dea9bca.tar.bz2
gst-plugins-bad-7e028507ffccf1bba9a76b2327967fe26dea9bca.zip
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/dccp/gstdccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c
index c9c100e7..f10eadb2 100644
--- a/gst/dccp/gstdccp.c
+++ b/gst/dccp/gstdccp.c
@@ -343,7 +343,7 @@ gst_dccp_socket_write (GstElement * element, int socket, const void *buf,
if (bytes_written != size) {
GST_ELEMENT_ERROR (element, RESOURCE, WRITE,
("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)));
return GST_FLOW_ERROR;
}