Marcus Meissner marcus@jet.franken.de writes:
On Thu, Oct 12, 2006 at 10:06:39AM +0200, Hans Leidekker wrote:
INT16 WINAPI ioctlsocket16(SOCKET16 s, LONG cmd, ULONG *argp) { u_long arg = *argp; return WS_ioctlsocket( s, cmd, &arg ); }
argp is for in- and output.
I would just suggest to cast the warning away.
That won't work on 64-bit though. I'm afraid we'll have to make u_long an unsigned int too.