dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
This commit is contained in:
parent
e214b31f5c
commit
21ddc28760
@ -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…
x
Reference in New Issue
Block a user