ws2_32: Include inttypes.h for UINT32_MAX.

Jacek Caban jacek at codeweavers.com
Wed Apr 29 08:44:29 CDT 2015


On 04/29/15 14:13, Bruno Jesus wrote:
> Hi all, I don't really understand why this change was made, windows
> uses 4 byte to set and get the value. It's not possible to set a value
> higher than 0xffffffff

When setting the timeout, the value may be rounded. If it's rounded up
from 0xffffffff, the value will not fit in 32-bit unsigned type. It's
not theoretical, I've seen this happening.

Jacek



More information about the wine-devel mailing list