Silence a signed/unsigned mismatch warning; NFC

This commit is contained in:
Aaron Ballman 2021-08-30 08:51:08 -04:00
parent 3973d8b29e
commit 21d11c87a2

View file

@ -80,7 +80,7 @@ Error optimize_x86_64_GOTAndStubs(LinkGraph &G) {
E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable) {
#ifndef NDEBUG
bool REXPrefix = E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable;
assert(E.getOffset() >= (REXPrefix ? 3 : 2) &&
assert(E.getOffset() >= (REXPrefix ? 3u : 2u) &&
"GOT edge occurs too early in block");
#endif
auto *FixupData = reinterpret_cast<uint8_t *>(