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
This commit is contained in:
committed by
Facebook Github Bot
parent
367c3a28be
commit
56ec33a463
@@ -18,7 +18,7 @@ namespace Facebook.CSSLayout
|
|||||||
|
|
||||||
public static long Make(int width, int height)
|
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)
|
public static int GetWidth(long measureOutput)
|
||||||
|
Reference in New Issue
Block a user