From 42ce7881817e84da90d4a3cb4bb28d07abe2b22b Mon Sep 17 00:00:00 2001 From: Steve MacLean Date: Wed, 26 May 2021 17:36:19 -0400 Subject: [PATCH] Fix comparison warning --- src/coreclr/vm/comdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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