WaE: compare unsigned values.

(cherry picked from commit e215b94aea58527bf76db44f0985b467502d457b)