mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c722ec7c37
Summary: The following fixes were needed to restore a clean build of React Native Windows downstream. - LayoutableShadowNode.cpp: Value must be cast to a float to avoid type conversion error. - ValueUnit.h: Must add a default return statement. Switch statement alone produces compiler error that function may end with no return value. ## Changelog: [GENERAL] [FIXED] - Upstream fixes for build errors in React Native Windows Pull Request resolved: https://github.com/facebook/react-native/pull/46315 Test Plan: React Native Windows CI runs clean. Reviewed By: javache, alanleedev Differential Revision: D62149228 Pulled By: realsoelynn fbshipit-source-id: 0d85455a22fbc0066076a50adee6b2d4409cd628