util/futex: replace double-cast check with a simple sign check
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.
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.