From 8c6f8b846f40f003cb1ace975bb7092b47cd69dc Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 5 Jul 2005 11:07:20 +0000 Subject: [PATCH] gst/tcp/: Signedness fixes. Original commit message from CVS: 2005-07-05 Andy Wingo * gst/tcp/gsttcpserversink.c (gst_tcpserversink_handle_server_read): * gst/tcp/gstmultifdsink.c (gst_multifdsink_client_queue_data): Signedness fixes. --- ChangeLog | 11 +++++++++++ gst/tcp/gstmultifdsink.c | 2 +- gst/tcp/gsttcpserversink.c | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2925e369e..512c247ab3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-05 Andy Wingo + + * gst/tcp/gsttcpserversink.c (gst_tcpserversink_handle_server_read): + * gst/tcp/gstmultifdsink.c (gst_multifdsink_client_queue_data): + Signedness fixes. + 2005-07-05 Wim Taymans * configure.ac: @@ -41,6 +47,11 @@ Ported tcp plugins to 0.9. +2005-07-05 Andy Wingo + + * Way, way, way too many files: + Remove crack comment from the 2000 era. + 2005-07-05 Andy Wingo * gst/playback/gstplaybasebin.c (fill_buffer): diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c index 590cd4fbe7..f1173331e8 100644 --- a/gst/tcp/gstmultifdsink.c +++ b/gst/tcp/gstmultifdsink.c @@ -740,7 +740,7 @@ gst_multifdsink_handle_client_read (GstMultiFdSink * sink, static gboolean gst_multifdsink_client_queue_data (GstMultiFdSink * sink, GstTCPClient * client, - gchar * data, gint len) + guint8 * data, gint len) { GstBuffer *buf; diff --git a/gst/tcp/gsttcpserversink.c b/gst/tcp/gsttcpserversink.c index bb9234863d..7b2c196eab 100644 --- a/gst/tcp/gsttcpserversink.c +++ b/gst/tcp/gsttcpserversink.c @@ -165,7 +165,7 @@ gst_tcpserversink_handle_server_read (GstTCPServerSink * sink) /* new client */ int client_sock_fd; struct sockaddr_in client_address; - int client_address_len; + unsigned int client_address_len; /* For some stupid reason, client_address and client_address_len has to be * zeroed */