Silence a signed/unsigned mismatch warning; NFC
This commit is contained in:
parent
3973d8b29e
commit
21d11c87a2
|
@ -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 *>(
|
||||
|
|
Loading…
Reference in a new issue