mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-13 09:00:27 +08:00
iOS: Resolve a build warning for 32bit devices (#19416)
Summary: <!-- Required: Write your motivation here. If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged. --> This PR resolves a warning `Implicit conversion loses floating-point precision: 'double' to 'CGFloat' (aka 'float')` when building not only this library **but also apps** for 32bit devices since it's declared in public header file. Pull Request resolved: https://github.com/facebook/react-native/pull/19416 Differential Revision: D14206633 Pulled By: cpojer fbshipit-source-id: a65a4774235fa7fb24fac2f9bf7e51ba2a027377
This commit is contained in:
committed by
Facebook Github Bot
parent
7a7eb11965
commit
b664dfdae3
@@ -10,7 +10,7 @@
|
||||
|
||||
#import <React/RCTBridgeModule.h>
|
||||
|
||||
static CGFloat RCTSingleFrameInterval = 1.0 / 60.0;
|
||||
static CGFloat RCTSingleFrameInterval = (CGFloat)(1.0 / 60.0);
|
||||
|
||||
@class RCTValueAnimatedNode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user