diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-06 14:41:00 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-06 14:41:00 +0100 |
commit | 21ddc28760f9ba29a137183eb49dcaad50c285b2 (patch) | |
tree | 4caa6d5aebc12e4f84d65e5da374208a2f861e3b /gst/dccp | |
parent | e214b31f5cd28ed0220da62949fdb10b5fb91d12 (diff) | |
download | gstreamer-plugins-bad-21ddc28760f9ba29a137183eb49dcaad50c285b2.tar.gz |
dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
Diffstat (limited to 'gst/dccp')
-rw-r--r-- | gst/dccp/gstdccp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c index af652f2de..8a80db416 100644 --- a/gst/dccp/gstdccp.c +++ b/gst/dccp/gstdccp.c @@ -366,7 +366,7 @@ gst_dccp_socket_write (GstElement * element, int socket, const void *buf, bytes_written += wrote; } - if (bytes_written < 0) + if (wrote < 0) GST_WARNING ("Error while writing."); else GST_LOG_OBJECT (element, "Wrote %" G_GSIZE_FORMAT " bytes succesfully.", |