[lld] Fix warning in lld/Macho while building lld for wasm (PR #120889)

Anutosh Bhat via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 22 04:23:55 PST 2024


================
@@ -2084,7 +2084,7 @@ void ObjCMethListSection::writeTo(uint8_t *bufStart) const {
     uint32_t writtenSize = writeRelativeMethodList(isec, buf);
     buf += writtenSize;
   }
-  assert(buf - bufStart == sectionSize &&
+  assert(buf - bufStart == long(sectionSize) &&
----------------
anutosh491 wrote:

Okay let me try the above and get back

https://github.com/llvm/llvm-project/pull/120889


More information about the llvm-commits mailing list