mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
This commit is contained in:
parent
e214b31f5c
commit
21ddc28760
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ gst_dccp_socket_write (GstElement * element, int socket, const void *buf,
|
||||||
bytes_written += wrote;
|
bytes_written += wrote;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bytes_written < 0)
|
if (wrote < 0)
|
||||||
GST_WARNING ("Error while writing.");
|
GST_WARNING ("Error while writing.");
|
||||||
else
|
else
|
||||||
GST_LOG_OBJECT (element, "Wrote %" G_GSIZE_FORMAT " bytes succesfully.",
|
GST_LOG_OBJECT (element, "Wrote %" G_GSIZE_FORMAT " bytes succesfully.",
|
||||||
|
|
Loading…
Reference in a new issue