From 67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 28 Aug 2015 04:23:40 +0200 Subject: remove redundent cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libmdsclient/comm.c b/src/libmdsclient/comm.c index a4c5fff..91502f3 100644 --- a/src/libmdsclient/comm.c +++ b/src/libmdsclient/comm.c @@ -167,7 +167,7 @@ int libmds_connection_establish(libmds_connection_t* restrict this, const char** if (this->socket_fd < 0) goto fail; - while (connect(this->socket_fd, (struct sockaddr*)(addr.address), addr.address_len)) + while (connect(this->socket_fd, addr.address, addr.address_len)) if (errno != EINTR) goto fail; -- cgit v1.2.3-70-g09d2