wineserver: fix a gcc 4.0 warning
mike at codeweavers.com
Wed Sep 14 01:19:56 CDT 2005
Marcus Meissner wrote:
>> if (mailslot->read_timeout != MAILSLOT_WAIT_FOREVER)
>>- timeout = &mailslot->read_timeout;
>>+ timeout = (int*) &mailslot->read_timeout;
> It would be better to change read_timeout to "int" instead I guess.
I'm not really sure, that why I've been avoiding changing this...
CreateMailslot takes timeout as a DWORD, and timeouts should not be
negative. Maybe fd_queue_async_timeout should take an unsigned int *?
More information about the wine-devel