Please sign in to comment.
Fix const declaration mismatch and double/float mix
Summary: This PR fixes a declaration mismatch for `YGNodeCanUseCachedMeasurement` where the last argument is declared non `const` in `.h` and `const` in `.c`. Additionally it uses explicit `float` for fraction calculation do avoid usage of `double` assignment. Closes facebook/yoga#607 Differential Revision: D5677931 Pulled By: emilsjolander fbshipit-source-id: 502da957089e4439ed956987ff8dec10bd033ba3
- Loading branch information...
Showing with 3 additions and 3 deletions.