Martin Storsjö <[email protected]> writes: > int ff_socket_nonblock(int socket, int enable) > { > #if HAVE_WINSOCK2_H > - return ioctlsocket(socket, FIONBIO, &enable); > + return ioctlsocket(socket, FIONBIO, (u_long*) &enable);
Now the pointer type doesn't match the type of the thing pointed to. That is dangerous. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
