diff --git a/src/coreclr/vm/comdelegate.cpp b/src/coreclr/vm/comdelegate.cpp index 00724500d13a5..3b1bf3afaec28 100644 --- a/src/coreclr/vm/comdelegate.cpp +++ b/src/coreclr/vm/comdelegate.cpp @@ -204,7 +204,7 @@ class ShuffleIterator } // Only Apple Silicon ABI currently supports unaligned stack argument shuffling - _ASSERTE(byteIndex == index * TARGET_POINTER_SIZE); + _ASSERTE(byteIndex == unsigned(index * TARGET_POINTER_SIZE)); return index; #else // Tha Apple Silicon ABI does not consume an entire stack slot for every argument