Skip to content

Commit b616a99

Browse files
committed
Fix warning in lld/Macho while building lld for wasm
1 parent 1b9805c commit b616a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/SyntheticSections.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ void ObjCMethListSection::writeTo(uint8_t *bufStart) const {
20842084
uint32_t writtenSize = writeRelativeMethodList(isec, buf);
20852085
buf += writtenSize;
20862086
}
2087-
assert(buf - bufStart == sectionSize &&
2087+
assert(buf - bufStart == long(sectionSize) &&
20882088
"Written size does not match expected section size");
20892089
}
20902090

0 commit comments

Comments
 (0)