On Wed, Apr 29, 2015 at 10:44 AM, Jacek Caban jacek@codeweavers.com wrote:
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.
Hi, Jacek. Thanks for the reply, so why can't we take care of the overflow inside the helper function and still return an ULONG to callers?