mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
This avoids warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#define ETIMEDOUT WSAETIMEDOUT
|
||||
#define ECONNREFUSED WSAECONNREFUSED
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#define getsockopt(a, b, c, d, e) getsockopt(a, b, c, (char*) d, e)
|
||||
#define setsockopt(a, b, c, d, e) setsockopt(a, b, c, (const char*) d, e)
|
||||
|
||||
int ff_neterrno(void);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user