On 11/1/19 8:13 PM, Ambrož Bizjak wrote:
Piotr, the point of the casts was to ensure that the correct argument type is used. AFAIK it is not guaranteed that the type of PTRDIFF_MIN is in fact ptrdiff_t.
These casts are not changing anything. And it's guaranteed that PTRDIFF_MIN will be passed in the same way as ptrdiff_t as argument.
Thanks, Piotr