From 56ec33a463fa7426ef18ab6eda0fc0ba00d6cac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20W=C3=B6hrl?= Date: Fri, 18 Nov 2016 09:22:27 -0800 Subject: [PATCH] Fix CS0675 warning in c# Summary: Fix CS0675 warning in c#. Closes https://github.com/facebook/css-layout/pull/255 Reviewed By: emilsjolander Differential Revision: D4204765 Pulled By: splhack fbshipit-source-id: bcf71796e1bf585a94b3549905cb6d6bc78a34b8 --- csharp/Facebook.CSSLayout/MeasureOutput.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/Facebook.CSSLayout/MeasureOutput.cs b/csharp/Facebook.CSSLayout/MeasureOutput.cs index 5ae6b9b0..10d93a33 100644 --- a/csharp/Facebook.CSSLayout/MeasureOutput.cs +++ b/csharp/Facebook.CSSLayout/MeasureOutput.cs @@ -18,7 +18,7 @@ namespace Facebook.CSSLayout public static long Make(int width, int height) { - return (long)(((ulong) width) << 32 | ((ulong) height)); + return (long)(((ulong) width) << 32 | ((uint) height)); } public static int GetWidth(long measureOutput)