From 7558272c50a01bb043569c312172a2be019fad61 Mon Sep 17 00:00:00 2001 From: Levi Broderick Date: Thu, 11 Apr 2019 13:19:21 -0700 Subject: [PATCH] Fix compilation failure in Utf16Utility --- .../shared/System/Text/Unicode/Utf16Utility.Validation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs index 4bc2c1c..40e818e 100644 --- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs +++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs @@ -226,7 +226,7 @@ namespace System.Text.Unicode else { // Take the hit of the 64-bit extension now. - tempUtf8CodeUnitCountAdjustment -= 2 * surrogatePairsCountNuint; + tempUtf8CodeUnitCountAdjustment -= 2 * (uint)surrogatePairsCountNuint; } } -- 2.7.4