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:
Takeru Chuganji
2019-02-24 23:59:19 -08:00
committed by Facebook Github Bot
parent 7a7eb11965
commit b664dfdae3

View File

@@ -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;