The ioctl() function on Win32 is really win32_ioctl(), the third argument
of which is a char*.
return RETVAL;
#else
# ifdef WIN32
- unsigned long flags = block;
+ char flags = (char)block;
return ioctl(PerlIO_fileno(f), FIONBIO, &flags);
# else
return -1;