Fix warning with mingw32 Apparently it thinks getsockopt()'s should be a char *, while it's a void * according to POSIX. Casting to void * avoids the warning.