Skip to content

util/futex: replace double-cast check with a simple sign check

Eric Engestrom requested to merge eric/mesa:futx-simplify-sign-check into main

We want to know whether the signed int can be represented by an unsigned int of the same size (no down-cast); for that, all we need is for it to be >= 0, so let's check that.

Merge request reports