From 4a07ee4971a9b90c5ca912a7375e73ccbe9ce499 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Tue, 27 Feb 2007 01:30:26 +0000 Subject: [PATCH] * Fix implementation of net_Close. it returns void, not int (like close). --- include/vlc_network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vlc_network.h b/include/vlc_network.h index 6821a8a79a..2dbc0377f9 100644 --- a/include/vlc_network.h +++ b/include/vlc_network.h @@ -183,7 +183,7 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout); # define SHUT_RDWR SD_BOTH # define net_Close( fd ) closesocket ((SOCKET)fd) #else -# define net_Close( fd ) close (fd) +# define net_Close( fd ) (void)close (fd) #endif /* Portable network names/addresses resolution layer */ -- 2.39.5