If 'cwc' is a pointer or anything that would ever become 64 bits in x64
this type of coding needs rewriting using symbolic sizes.
(Such as ULONG_PTR(-1) and similar constructs..)


On 2017-02-24 20.42, Thomas Faber wrote:
> +    /* Check for integer overflow */
> +    if (cwc & 0x80000000) // (INT_MAX + 1) == INT_MIN

L.
_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to